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 109753 - Change mnemonics handling from 2 key/value to '&' method
Summary: Change mnemonics handling from 2 key/value to '&' method
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks: 86438
  Show dependency tree
 
Reported: 2007-07-15 20:45 UTC by Ken Frank
Modified: 2009-02-19 23:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-07-15 20:45:18 UTC
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.

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.
Comment 1 Ch Nguyen 2007-07-28 00:45:13 UTC
I will take a look at these after Beta1.
Comment 2 Ch Nguyen 2007-10-05 18:28:34 UTC
I discussed with Ken Frank and next release to address this is more feasible.
Comment 3 Peter Zavadsky 2008-12-03 21:16:17 UTC
Fixed for visualweb.samples.bundled:

changeset:   110398:b3e479a3fa89
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Wed Dec 03 13:14:31 2008 -0800
summary:     #109753 Fixing bundle mnemonics.
Comment 4 Peter Zavadsky 2008-12-03 21:36:10 UTC
Fixing for visualweb.complib:

changeset:   110429:95bce9992b2e
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Wed Dec 03 13:35:10 2008 -0800
summary:     #109753 Fixing bundle mnemonics.
Comment 5 Peter Zavadsky 2008-12-03 21:45:25 UTC
Fixed for visualweb.insync:

changeset:   110430:b8ae054255a4
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Wed Dec 03 13:42:46 2008 -0800
summary:     #109753 Fixing bundle mnemonics.
Comment 6 Peter Zavadsky 2008-12-04 00:37:28 UTC
Fixed for visualweb.project.jsf:

changeset:   110434:27096b07ff7a
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Wed Dec 03 16:36:16 2008 -0800
summary:     #109753 Fixing bundle mnemonics.
Comment 7 Peter Zavadsky 2008-12-04 01:10:18 UTC
Fixed for visualweb.dataconnectivity:

changeset:   110442:865cbb6721de
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Wed Dec 03 17:08:53 2008 -0800
summary:     #109753 Fixing bundle mnemonics.
Comment 8 Peter Zavadsky 2008-12-04 21:07:55 UTC
Fixed for visualweb.jsfsupport.designtime:

changeset:   110451:0667aa9a4bcd
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Thu Dec 04 12:32:54 2008 -0800
summary:     #109753 Fixing bundle mnemonics.
Comment 9 Peter Zavadsky 2008-12-04 23:00:33 UTC
Fixing for visualweb.xhtml:

changeset:   110589:2975ee5de645
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Thu Dec 04 14:59:30 2008 -0800
summary:     #109753 Fixing bundle mnemonics.
Comment 10 Peter Zavadsky 2008-12-05 01:44:43 UTC
Fixing for visualweb.propertyeditors:

changeset:   110605:7237d49e8de9
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Thu Dec 04 17:43:33 2008 -0800
summary:     #109753 Fixing bundle mnemonics.
Comment 11 Quality Engineering 2008-12-05 06:20:53 UTC
Integrated into 'main-golden', will be available in build *200812050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/95bce9992b2e
User: Peter Zavadsky <pzavadsky@netbeans.org>
Log: #109753 Fixing bundle mnemonics.
Comment 12 Peter Zavadsky 2008-12-05 19:28:05 UTC
Fixed for visualweb.propertyeditors (2nd part):

changeset:   110761:41ddad5fdc67
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Fri Dec 05 11:26:45 2008 -0800
summary:     #109753 Fixing bundle menmonics.
Comment 13 Peter Zavadsky 2008-12-05 20:53:46 UTC
Fixed for visualweb.ejb:

changeset:   110770:0e879cfac665
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Fri Dec 05 12:52:36 2008 -0800
summary:     #109753 Fixing bundle mnemonics.
Comment 14 Peter Zavadsky 2008-12-05 23:50:57 UTC
Fixed for visualweb.webui.designtime (that's all for visualweb).

changeset:   110779:4a4d14099ec5
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Fri Dec 05 15:48:19 2008 -0800
summary:     #109753 Fixing bundle mnemonics.
Comment 15 Quality Engineering 2008-12-07 05:32:54 UTC
Integrated into 'main-golden', will be available in build *200812070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0e879cfac665
User: Peter Zavadsky <pzavadsky@netbeans.org>
Log: #109753 Fixing bundle mnemonics.
Comment 16 Quality Engineering 2008-12-09 18:38:05 UTC
Integrated into 'main-golden', will be available in build *200812091520* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4a4d14099ec5
User: Peter Zavadsky <pzavadsky@netbeans.org>
Log: #109753 Fixing bundle mnemonics.