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.
Created attachment 112844 [details] Screenshot of enabled "Set Current Thread" menu item. Product Version: NetBeans IDE Dev (Build 201111030600) Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02-384 System: Mac OS X version 10.6.6 running on x86_64; MacRoman; en_US (nb) User directory: /Users/cesilko/.netbeans/dev Cache directory: /Users/cesilko/.netbeans/dev/var/cache Description: ============ "Debug > Set Current Thread" menu item is enabled if MemoryView is opened even if debugger is not actually running. See attached screenshot. This seems to be a Mac OS X specific problem. Steps to reproduce: =================== 1. Launch NetBeans 7.1 on Mac OS X. 2. Generate a AnagramGame sample Java project. 3. Invoke "Debug" item from main menu. 4. Verify that "Set Current Thread" item is enabled although debugger is not running and there are no threads to switch between.
It may be some incompatibility of Swing properties, I've replaced "ancestor" property with HierarchyListener. Fixed by changeset: 206437:57857884e669 http://hg.netbeans.org/main/rev/57857884e669
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/57857884e669 User: mentlicher@netbeans.org Log: #204689 "ancestor" property is replaced with HierarchyListener.
I am sorry but this fix didn't help. The action is still enabled in development build #201111080600. I am reopening this bug.
Hmm, so I have to test this really on Mac to see what's different there...
I've tried to fix it by changeset: 207327:7d88599113e4, but it still does not work on Mac. We do not get the HierarchyEvent when the menu item is showing. http://hg.netbeans.org/main/rev/7d88599113e4
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/7d88599113e4 User: mentlicher@netbeans.org Log: #204689: An attemtp to fix the enabled state of Set Current Thread action on Mac. Fixes the enabled state when the action stays visible, but does not fix the problem on Mac.
Still valid for NetBeans 7.2 build #201206080001.
Still valid for NetBeans 7.3 build #201211190002.
P4 IMHO, this looks like a minor problem.
Still valid in NetBeans 8.0 development build #201402060001.