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 183316

Summary: Clipboard Toolbar actions not deactivating when a Component losses focus
Product: platform Reporter: shanepanter <shanepanter>
Component: ActionsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal Keywords: PLATFORM
Priority: P3    
Version: 6.x   
Hardware: Other   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description shanepanter 2010-04-01 02:26:09 UTC
If you open a source file to edit and have the Clipboard toolbar open the cut copy and paste icons become active as expected. You can confirm this by opening the edit menu and seeing the cut copy and paste actions activated. 

If however you now close the text file that you were editing the Clipboard toolbar cut and copy icons stay active when they should be grayed out. You can confirm this by once again opening the Edit menu and observe that the cut copy and paste actions are indeed disabled. 

If you close the Clipboard toolbar and reopen it without and files open then the toolbar will open to is proper state of the cut, copy, and paste icons disabled.
Comment 1 Jaroslav Tulach 2010-04-13 09:08:55 UTC
Broken deep in the API implementation: core-main#2384c335e6b7
Comment 2 Quality Engineering 2010-04-14 04:39:11 UTC
Integrated into 'main-golden', will be available in build *201004140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2384c335e6b7
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #183316: Deliver PropertyChangeEvent when the action is becoming disabled