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.
A look at some bundle files of the modules in this category showed that there were usages of the 2 key/value approach for defining mnemonics, ie FILE_Mnenonic=F FILE_Label=File see umbrella 86438 - direction from nb is to replace usage of setMnemonic and setDisplayed Mnemonic to org.openide.Mnemonics such that, instead of bundle file having a separate key/value for defining the mnemonic key and a separate key/value for the label, that it all be in the one key/value, for example FILE=&File (also, even if the assigned key is the first letter of the label, always put in the '&') This issue relates to all usages of the 2 key/value approach in this category. A quick way to look in bundle files to see this is find <path> -name "*.properties" | xargs egrep -i '.*=.$' If this issue needs to be filed in separate subcategories of this category, please do so and this one could be used as an umbrella issue of those. seen in debuggerjpda and spi-debugger-spi. I don't know if this is required to be complete for nb6; please check with your nb team and qe on your team; the goal is not to destabilize mnemonics since that is part of a11y criteria, but to make it clearer and smoother for translation teams; based on voc and requirements from translation teams, nb team decided to request to have these changes made.
It needs to be fixed in debuggercore UI and debuggerjpda/ui modules.
Some unused mnemonics were removed: /shared/data/ccvs/repository/debuggercore/src/org/netbeans/modules/debugger/ui/models/Bundle.properties,v <-- Bundle.properties new revision: 1.10; previous revision: 1.9
The rest of unused mnemonics are removed: /shared/data/ccvs/repository/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/Bundle.properties,v <-- Bundle.properties new revision: 1.35; previous revision: 1.34
Oops, the mnemonics were actually used. Via displayName+"_Mnc", thus I did not find them via grep! Adding back: /shared/data/ccvs/repository/debuggercore/src/org/netbeans/modules/debugger/ui/models/Bundle.properties,v <-- Bundle.properties new revision: 1.11; previous revision: 1.10 This will be more complicated to fix, since we have getDisplayedMnemonic() in TreeTableView Model API.
I can not change this until issue #113642 is implemented.
does spi-debugger-ui need a separate issue ? ken.frank@sun.com
Changing TM for open issues.
It's fully fixed in changeset: 106693:bc5af04fa69e and 106700:549e5ddaee12 http://hg.netbeans.org/main/rev/bc5af04fa69e http://hg.netbeans.org/main/rev/549e5ddaee12
Integrated into 'main-golden', will be available in build *200810280201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/bc5af04fa69e User: mentlicher@netbeans.org Log: #109750 - Get rid of special key for mnemonics in table columns. Use an ampersand in the display name of the column.
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.