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 43690

Summary: When I open a main menu, text and shortcuts are displayed on the same place
Product: projects Reporter: vbrabant <vbrabant>
Component: Generic Projects UIAssignee: Petr Hrebejk <phrebejk>
Status: CLOSED DUPLICATE    
Severity: blocker CC: phrebejk
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows 95/98   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    
Attachments: texts and shotcuts are displayed in the same area

Description vbrabant 2004-05-22 09:28:29 UTC
NB200405182245 & JDK 1.4.2

Sometimes, when I select Run | Run Others
I see the submenu entries where shortcuts are
displayed on the text.

The next time I reselect the same menu, everything
is correctly displayed.
Comment 1 vbrabant 2004-05-22 09:29:31 UTC
Created attachment 15061 [details]
texts and shotcuts are displayed in the same area
Comment 2 David Simonek 2004-06-16 14:35:03 UTC
Hmm, not good. We concluded here source of the trouble is probably
dynamic text of menu items. However needs deep Swing investigation :-(
Comment 3 David Simonek 2004-06-17 15:30:37 UTC
Passing to projects, mentioned actions belongs to them.
Easiest solution that I see (if possible) is to obtain full menu item
text *before* menu is displayed. Note that Swing doesn't assure
correct dynamic menu size changes, so knowing text before display is
the best thing to do.
Comment 4 Jesse Glick 2004-06-17 16:10:11 UTC
I am pretty sure this is a duplicate, please search for it. Some kind
of problem in our actions infrastructure and the fact that some main
menu items change their labels dynamically, apparently too late.
Comment 5 Petr Hrebejk 2004-06-17 17:33:24 UTC
Yes, dupe.

*** This issue has been marked as a duplicate of 41836 ***
Comment 6 Marian Mirilovic 2005-07-12 10:13:32 UTC
closed