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.
[dev-200510301900, JDK 1.5.0_05] Menu item Show CVS Status Labels is not responding to user actions - hovering mouse, clicking. The menu item is not disabled, it just doesn't respond and sometimes it disapears when the menu is shown, attaching screenshot. Steps to reproduce: 1) Start IDE 2) Disable Memory meter toolbar <- the cause! 3) Open the menu View and hover mouse over the "Show CVS Status Labels"
Created attachment 26492 [details] screenshot
Cool. I wonder how those components interact. Can someone from openide clarify? My action is org.netbeans.modules.versioning.system.cvss.ui.actions.ShowTextAnnotationsAction in javacvs/cvsmodule. I have found out that if I do not create new instances of my checkbox menu item and always return the same instance, the problem dissappears. I am just letting you know that there may be a potential problem. Please evaluate and reassign back, I will add menu item caching afterwards.
reassigning
it is most probably a validation/repaint problem. The old instance is replaced by new one when the menu is about to be shown. The memory toolbar item is functions as a permanent, repetitive repainter sometimes..
fixed. Checking in loaders/src/org/openide/awt/DynaMenuModel.java; /cvs/openide/loaders/src/org/openide/awt/DynaMenuModel.java,v <-- DynaMenuModel.java new revision: 1.6; previous revision: 1.5
Verified in dev-200511011936.