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 67847 - Menu item Show CVS Status Labels not active
Summary: Menu item Show CVS Status Labels not active
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on: 68438
Blocks:
  Show dependency tree
 
Reported: 2005-10-31 16:03 UTC by Milan Kubec
Modified: 2008-12-22 20:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (6.14 KB, image/png)
2005-10-31 16:04 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2005-10-31 16:03:56 UTC
[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"
Comment 1 Milan Kubec 2005-10-31 16:04:46 UTC
Created attachment 26492 [details]
screenshot
Comment 2 Maros Sandor 2005-10-31 17:18:52 UTC
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.
Comment 3 Milos Kleint 2005-11-01 07:06:34 UTC
reassigning
Comment 4 Milos Kleint 2005-11-01 10:40:26 UTC
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..
Comment 5 Milos Kleint 2005-11-01 14:45:37 UTC
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
Comment 6 Milan Kubec 2005-11-03 08:42:11 UTC
Verified in dev-200511011936.