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 - When I open a main menu, text and shortcuts are displayed on the same place
Summary: When I open a main menu, text and shortcuts are displayed on the same place
Status: CLOSED DUPLICATE of bug 41836
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: PC Windows 95/98
: P3 blocker (vote)
Assignee: Petr Hrebejk
Depends on:
Blocks: 41535
  Show dependency tree
Reported: 2004-05-22 09:28 UTC by vbrabant
Modified: 2006-03-24 10:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

texts and shotcuts are displayed in the same area (6.77 KB, image/png)
2004-05-22 09:29 UTC, vbrabant

Note You need to log in before you can comment on or make changes to this bug.
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