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 13728 - Mnemonics collision in "Tools" menu ("Add to Component Palette..." vs. "Generate R/W Property for Field")
Summary: Mnemonics collision in "Tools" menu ("Add to Component Palette..." vs. "Gener...
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-19 10:55 UTC by Robert Dankanin
Modified: 2003-06-30 18:29 UTC (History)
2 users (show)

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 Robert Dankanin 2001-07-19 10:55:16 UTC
[Main trunk build #200107190100]

1. Start fresh build
2. In [Explorer] expand e.g. "sampledir/examples/colorpicker/ColorPreview to view its fields and methods, then set the focus to e.g. field 
"propertyChangeSupport"
3. Press Alt+t to go to "Tools" menu

-> There are two items using the same mnemonic key:
Generate R/W Property for Field
                     ^
Add to Component Palette...
                 ^
However one is uppercase and one is lowercase ,
    if I press "Shift+p" now -> "Generate R/W Property for Field" is performed
    if I press just "p" -> "Generate R/W Property for Field" is performed again

Can't invoke "Add to Component Palette..." item by its mnemonic however I'm trying :(

Note: I've noticed opposite problem if the mentioned file was opened in [Source Editor] first and then tryed to set focus on its field
-> after "Alt+t", these items are displayed in opposite order and I can't invoke "Generate R/W Property for Field" instead :(

Is there a way to differentiate lowercase and uppercase mnemonics, or is it just case-insensitive business ?
Comment 1 Jan Zajicek 2001-07-19 13:18:47 UTC
x
Comment 2 Jiri Mzourek 2001-07-19 13:25:28 UTC
reassigned
Comment 3 _ ttran 2001-11-08 18:42:51 UTC
Not core's bug.  IMO menuitems under Tools should not have mnemonic at
all because they come from independent modules.  Conflicts are unavoidable
Comment 4 Tomas Pavek 2001-11-09 11:34:03 UTC
Okay then. I'm ready to remove the mnemonic from palette install 
action. Does beans module agree to to the same with their action? 
Some opinion of UI?
Comment 5 Petr Suchomel 2001-11-09 11:37:59 UTC
Do I have remove mnemonic at all, or use differen shortcut?
Comment 6 Tomas Pavek 2001-11-09 11:44:49 UTC
I guess we should remove it. You can never know what other actions 
may appear in Tools menu...
Comment 7 Petr Suchomel 2001-11-09 11:49:49 UTC
Short cut removed from beans module
Comment 8 Jiri Mzourek 2001-11-09 11:53:09 UTC
I agree with removing.

See:
http://a11y.netbeans.org/a11yFAQ.html
Q:Do items in the context menu require mnemonics?(it's the same problem)
Comment 9 Tomas Pavek 2001-11-09 11:57:07 UTC
Mnemonic removed in form module too...

Thanks for cooperation ... :-)
Comment 10 Marian Mirilovic 2001-11-12 13:59:54 UTC
verified in [nb_dev](20011112)
Comment 11 Quality Engineering 2003-06-30 18:29:54 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.