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 27037 - I18N issue with FileSelector label mnemonic
Summary: I18N issue with FileSelector label mnemonic
Status: VERIFIED WONTFIX
Alias: None
Product: utilities
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: All All
: P3 blocker (vote)
Assignee: issues@utilities
URL:
Keywords: A11Y, I18N
Depends on:
Blocks:
 
Reported: 2002-09-04 23:40 UTC by Unknown
Modified: 2003-12-11 14:27 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 Unknown 2002-09-04 23:40:33 UTC
The first character of the 'rootLabel' used
in a FileSelector is used as the label mnemonic.
When this string is localized, the first
character becomes non-ascii character. As a
result, the mnemonic key doesn't work.

An example of where this occurs is on the
Tools-Create Group dialog (the "Look In"
string).
Comment 1 Marian Mirilovic 2002-10-11 14:20:51 UTC
OS/Platform independent issue.
Comment 2 Marian Mirilovic 2002-11-13 15:30:34 UTC
changed owner Dafe -> Peter Z.
Comment 3 Peter Zavadsky 2002-12-04 17:08:03 UTC
I found this in utilities/group (also something in rmi,
transtlatedfiles -> don't know what it is), so assigning to
utilties/group first.
Comment 4 Marian Petras 2003-01-07 17:03:40 UTC
Added keyword I18N.
Comment 5 Marian Petras 2003-03-03 13:34:17 UTC
In the current source code base, the bug is in file
utilities/group/src/org/netbeans/modules/group/CreateGroupAction.java.
Key "PROP_Look_in" is used in method

   NodeOperation[.getDefault()].select(String title,
                                       String rootTitle,
                                       Node root,
                                       NodeAcceptor acceptor,
                                       Component top)

which accepts use of '&' for specification of a mnemonic of a
rootTitle. So there is an easy fix - just add '&' to the value of key
"PROP_Look_In" in Bundle.properties.
Comment 6 Marian Petras 2003-03-03 13:34:56 UTC
Added keyword A11Y.
Comment 7 Marian Petras 2003-03-28 09:54:50 UTC
This bug won't be fixed since the dialog is no longer used. Action
Tools-Create Group is not used since 30 October 2002, as noted in a
comment to bug #27164 by Libor Kramolis.

The only way how to create a group is to:
1) Create an empty group from a template.
2) Put some content into it (either using the drag-and-drop mechanism
or by using actions copy-paste).
Comment 8 pfelenda 2003-04-18 15:38:31 UTC
This label has not been present since release33.
I have one question Marian. Why is the source
code (CreateGroupAction.java) present in cvs
trunk, but is not used ?

Comment 9 pfelenda 2003-04-22 17:06:01 UTC
Verified in dev 20030422.
Comment 10 Marian Petras 2003-04-22 17:13:50 UTC
See issue #33136 (Remove traces of "CreateGroupAction").