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.
Summary: | First menu item in menu a submenu -> no mnemonics | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | Window System | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED INVALID | ||
Severity: | blocker | CC: | mmirilovic, pnejedly |
Priority: | P3 | Keywords: | A11Y, JDK_SPECIFIC |
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Simple swing app with this problem |
Description
Jesse Glick
2003-02-12 16:55:23 UTC
> Mnemonics never work in a menu whose first item is a submenu.
It isn't true , if you try menu Build (Start Session), or Versioning
(Mount Versioning) it works fine.
There is something broken only in Window menu, because if you invoke
menu Window and than press 't', actually focused window is attached to
Top, it means that pressed key 't' is posted to submenu "Attach MDi
Frame".
Something is broken in Window | Frame resides too, it doesn't expand
menu - nothing happens.
Ups, it seems like it works described way (doesn't work0 only on [s1s_se](20030218), it's not reproducible on [nb_dev](20030219) The problem is in Swing, I'll attach simple demo application. Created attachment 9148 [details]
Simple swing app with this problem
Generally, the mnemonics don't work once the menu selection is on item which is submenu. Swing probably tries to route the mnemonics to the (yet unexpanded) submenu. In the attached app, you can test it by Alt+e (first menu) Down, Down (select the submenu, but don't open it) A (the mnemonic don't work any more, although the item with submenu is not first). OK, well someone should file a BugTraq bug - assign to me if you want me to do it. Thanks for the demo form Petr, I can reproduce with that easily. Passing to Jesse per his request. Petr, if you want it, take it back. Seems to have been fixed in the JDK already; at least I can no longer reproduce in Mantis b18. The submenu is still selected & unexpanded when you post the window, but mnemonics for other menu items work fine. closing. |