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.
When you first open the "options" dialog, the "apply" button is disabled. Then change any setting and the "apply" button becomes enabled. Click on the button: it becomes disabled and immediately returns to enabled state. It never returns to disabled state as long as you don't close the dialog. Is this expected? IMHO, it is a bug. I noticed this weird behavior while developping a custom NB app. Somehow related to https://netbeans.org/bugzilla/show_bug.cgi?id=241918 Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Java: 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) User directory: C:\projects\.netbeans\8.0 Cache directory: C:\projects\.netbeans\cache\8.0
Seems a duplicate of https://netbeans.org/bugzilla/show_bug.cgi?id=233997
Created attachment 153606 [details] Sample application project I am also experiencing this bug, even with a totally clean, straight-from-the-template application with no custom code or modules added (attached). The only option categories/panels are the ones that shipped with NetBeans Platform. Steps to reproduce (with attached sample project): 1) Build and run any application. 2) Go to Tools > Options 3) Press "Apply" a few times. Note that "Apply" button is already enabled as soon as the dialog is displayed, with just the default panels shown. Observe that even after the "Apply" button is pressed, it gets re-enabled within 0.5 seconds. Project built using: NetBeans IDE 8.0.2 (Build 201411181905) NetBeans Platform: RELEASE80 pulled from http://bits.netbeans.org/nexus/content/groups/netbeans/ Java: 1.7.0_75; Java HotSpot(TM) 64-Bit Server VM 24.75-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_75-b13 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US
(In reply to jmborer from comment #1) > Seems a duplicate of https://netbeans.org/bugzilla/show_bug.cgi?id=233997 I cannot reproduce either what you are describing here or what is described in that bug with NetBeans IDE Dev (Build 20150911-0e1eca6d3988). Please try a latest build and reopen if it still happens for you. Thank you for reporting.
I am still experiencing this problem with NetBeans Platform 8.0.2 and 8.1-BETA. I am attaching a freshly-made sample project -- it's basically identical to the previous one, except for the newer platform version (8.1-BETA) and plugin versions (nbm-maven-plugin:4.0.1 and maven-compiler-plugin:3.3). I am also attaching this application's log file, with FINEST logging enabled for org.netbeans.modules.options and org.netbeans.core.ui.options.general. The log file captures the following events: - Line 127: Options dialog being opened. The Apply button is already enabled. - Line 132: I press the Apply button. The button briefly becomes disabled again, then immediately re-enabled and focused. - Line 440: I press the Apply button again. Same thing happens. - Line 475: I press the OK button to dismiss the dialog. I tried to narrow down the problem by hiding built-in Options categories one at a time, via layer.xml. I noticed that the "Apply" button is only permanently-enabled while the "General" tab is visible. Hiding the "General" tab restores normal/expected behavior. It should also be noted that I am only seeing this bug when creating a Maven-based NetBeans application. I cannot reproduce this bug with an Ant-based application. Perhaps some difference between the project templates is exposing/hiding this bug? Perhaps there is something in GeneralOptionsPanel (specifically, its isChanged() method) that causes the panel to permanently consider itself "changed"? Could have something to do with my local network/proxy configuration. Just in case, I am also attaching my network configuration (cleaned output of "ipconfig /all").
Created attachment 157148 [details] Sample project (NETBEANS81-BETA)
Created attachment 157149 [details] network configuration dump (ipconfig /all)
Created attachment 157150 [details] Application log from sample project (NETBEANS81-BETA)
Created attachment 157151 [details] Screen recording of the problem (attached sample project running)