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 240513

Summary: Checkmark next to "Show Editor Toolbar" menu item can get out of sync with actual setting
Product: editor Reporter: ebakke
Component: Actions/Menu/ToolbarAssignee: Miloslav Metelka <mmetelka>
Status: REOPENED ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description ebakke 2014-01-15 18:16:21 UTC
To reproduce:
1) Open a file for editing in the NetBeans editor.
2) Click View->"Show Only Editor"
3) Click View->"Show Editor Toolbar"
4) Click View->"Show Only Editor"
5) Click View->"Show Editor Toolbar"
6) There's now a checkmark next to View->"Show Editor Toolbar", even though there is no editor toolbar showing.

It seems the checkbox in the menu is inverted on every click rather than properly being bound to the underlying "toolbarVisible" preference from the java.util.prefs.Preferences system, which is (rightly) modified by the "Show Only Editor" action.
Comment 1 Jiri Prox 2014-02-04 16:29:39 UTC
reproducible
Comment 2 Martin Balin 2016-07-07 07:26:25 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 3 ebakke 2016-07-07 17:44:57 UTC
Still reproducible on latest build; reopening.

Product Version: NetBeans IDE Dev (Build 201607070002)
Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14
System: Mac OS X version 10.9.5 running on x86_64; UTF-8; en_US (nb)