This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 241918 - Apply button becomes permanently activated everywhere in Options
Summary: Apply button becomes permanently activated everywhere in Options
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-15 18:07 UTC by MackSix
Modified: 2014-02-21 06:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log File (44.83 KB, application/octet-stream)
2014-02-15 18:28 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2014-02-15 18:07:50 UTC
1. Delete userdir & cachedir.
2. Start NetBeans and goto Options->Java and activate GUI Builder.
3. Goto Options->PHP and activate PHP.
4. Goto Options->Keymap and switch to Eclipse then press Apply button.
5. Switch back to NetBeans and press Apply button.
6. Goto Options->PHP->Code Analysis tab and click on all 3 entries on the left and then back on the first entry.
7. Repeat steps 4 & 5 and observe Apply button.
8. If Apply button is OK, restart NetBeans.
9. Repeat step 6 and then step 4 & 5.
10. Observe Apply button. Does it stay activated or not?

No guarantees these steps will work, but if I do things like these steps, the Apply button eventually will get stuck activated. When I change an options it will deactivate momentarily but then activate again.

One time it causes Issue 241917 following the steps on the issue, so it may be related.

Product Version: NetBeans IDE Dev (Build 201402150001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b128
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 MackSix 2014-02-15 18:28:18 UTC
Created attachment 145237 [details]
Log File
Comment 2 Theofanis Oikonomou 2014-02-17 13:34:02 UTC
(In reply to MackSix from comment #0)
> No guarantees these steps will work, but if I do things like these steps,
> the Apply button eventually will get stuck activated. When I change an
> options it will deactivate momentarily but then activate again.

I could not reproduce with those steps.

> 
> One time it causes Issue 241917 following the steps on the issue, so it may
> be related.

I am not sure if 241917 is related but maybe bug 241504 is related. It seems that sometimes isChanged() was called off EDT when updating the status of OK/Apply buttons, so this might be why it got stuck eventually. In thas case it should be solved by http://hg.netbeans.org/core-main/rev/93a5bc933fe2. Could you try a latest build and see if you can reproduce again? Thank you
Comment 3 MackSix 2014-02-21 06:08:18 UTC
It's working OK in:

Product Version: NetBeans IDE Dev (Build 201402190001)
Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)