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 246285 - Code assistance: 'apply' button disabled after 'reset settings'
Summary: Code assistance: 'apply' button disabled after 'reset settings'
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-05 20:31 UTC by alibabashack
Modified: 2014-09-17 12:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alibabashack 2014-08-05 20:31:49 UTC
In the 'Code Assistance' tab of the option panel (Tools -> Options -> C/C++ -> Code Assistance):

The include paths specified here typically contain the version of the compiler.
When the include paths of the compiler have changed due to a compiler update (e.g. via debian package management) the paths are outdated. In order to fix the includes, the user may click on the 'Reset Settings' button. This correctly updates the include paths in the shown components to paths with the new compiler version.

Defect 1:
However when the user then clicks the 'OK' button, the new include paths are lost. When the option panel is reopened, the old paths are shown again.
-> The new settings are expected to be permanent after clicking 'OK'.

Defect 2:
After clicking the 'Reset Settings' button, the 'Apply' button is deactivated and can not be clicked to save the new updated paths. The button is only activated, when the user modifies the paths manually.
-> The 'Apply' button is expected to become activated when the 'Reset Settings' action has modified the include path settings.

Temporary workaround:
After clicking the 'Reset Settings' button some additional include path can be added. Then the activated 'Apply' button can be clicked. After that the additional include path can be removed and the 'Apply' button clicked again. The settings will retain after this procedure.

---

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 2
Java: 1.7.0_55; OpenJDK 64-Bit Server VM 24.51-b03
Runtime: OpenJDK Runtime Environment 1.7.0_55-b14
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)
Comment 1 Alexander Simon 2014-08-06 14:27:01 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/6e3d84a21660
Comment 2 Quality Engineering 2014-08-07 02:22:14 UTC
Integrated into 'main-silver', will be available in build *201408070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6e3d84a21660
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #246285 Code assistance: 'apply' button disabled after 'reset settings'
Comment 3 Alexander Pepin 2014-08-12 14:54:49 UTC
Verified in trunk build 20140812.
Comment 4 Quality Engineering 2014-09-17 12:13:12 UTC
Integrated into 'releases/release801', will be available in build *201409171118* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/06d84b9cda33
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #246285 Code assistance: 'apply' button disabled after 'reset settings'
(transplanted from 6e3d84a216604f956a220ad4ee7ad618be157e86)