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: | Accessibility: Mnemonics do not work in popup menu | ||
---|---|---|---|
Product: | platform | Reporter: | Sophie Deng <sophiedeng> |
Component: | Actions | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | benway, jglick, jmzourek, juhrik, mkrauskopf, olegsukhodolsky, raccah |
Priority: | P3 | Keywords: | A11Y, UI |
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Sophie Deng
2001-10-03 00:47:17 UTC
Got some information from HIE on the policy of using mnemonics on popup menus. Dirk.Ruiz wrote: The policy is not to use mnemonics on popup menus. The reason is that there's no way to predict which items will show up on any given context menu. So, the chance of having a repeated mnemonic is high. This shouldn't be a problem -- the user *should* be able to repeatedly press the mnenomic to get to the menu items that have the same mnemonic. For instance, if the context menu had the items _Reboot and _Run, then the user should be able to press Alt-R twice to get to _Run. The problem is that Java has a cute little bug: pressing the mnemonic the second time triggers the first menu item that has the mnemonic, rather than skipping to the second menu item that has the mnemonic. In this case, pressing Alt-R the second time will trigger _Reboot, rather than skipping to _Run. Cute, huh? Since we can't solve this problem, we just don't show mnemonics on context menus, and let the user arrow up and down to get to other menu items from the keyboard. Since we don't need to implement menomics for popup menus, this bug is not critical now. However when the jdk bug is fixed, this bug sould be fixed as well. Just CCing ui group. *** Issue 16793 has been marked as a duplicate of this issue. *** see Dirk' comment => we won't work around all Swing's problems Resolved for 3.4.x or earlier, no new info since then -> verified Resolved for 3.4.x or earlier, no new info since then -> closing. *** Issue 83952 has been marked as a duplicate of this issue. *** The mentioned bug seems to be fixed in JDKs [567].0. And since trunk requires JDK 5.0 this can be probably fixed now. Indeed, it is not a big problem if there is a mnemonic overlap in the context menu. But we can check that with the standard set of modules this does not happen. Not really any different than potential mnemonic conflicts in the main menu. openide/actions is not exactly the right category, nor is the bug description correct. Mnemonics *do* work in the popup menu, if you specify them. The problem is that most modules do not specify them. This should be corrected. Reporter: please, specify which menus (which modules) doesn't correctly use mnemonics in their menus. Thanks Right there is nothing to fix here. I've reopen and added a comment to issue 83952. |