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 212599 - Use Cmd rather than Meta in shortcut descriptions
Summary: Use Cmd rather than Meta in shortcut descriptions
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL: http://bugs.sun.com/bugdatabase/view_...
Keywords:
Depends on:
Blocks: 211167
  Show dependency tree
 
Reported: 2012-05-16 16:00 UTC by Petr Jiricka
Modified: 2012-11-08 13:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the options dialog (100.95 KB, image/png)
2012-05-18 08:03 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2012-05-16 16:00:21 UTC
1. Go to NetBeans -> Preferences -> Keymap

You see that the shortcut descriptions use the "Meta" word. I think this should be changed to "Cmd", as "Meta" seems to be deprecated and "Cmd" is the preferred new equivalent, see: http://en.wikipedia.org/wiki/Command_key

Or better yet, could the graphical "Gordon loop" symbol be used? (And same for the graphical symbol representing the Alt key.)
Comment 1 Theofanis Oikonomou 2012-05-17 10:15:49 UTC
Fixed: http://hg.netbeans.org/core-main/rev/1307e20d4647
The graphical symbols for Cmd and Alt keys are used
Comment 2 Petr Jiricka 2012-05-18 08:03:16 UTC
Created attachment 119594 [details]
Screenshot of the options dialog

Weird, still does not work for me in build web-main #7654, which already contains this change. See the attached screenshot.
Comment 3 Theofanis Oikonomou 2012-05-18 08:11:34 UTC
Weird indeed. I tested it yesterday on a Mac and it was showing the graphical symbols. I will have another look on Monday as I do not have access to a Mac now.
Comment 4 Quality Engineering 2012-05-18 09:53:56 UTC
Integrated into 'main-golden', will be available in build *201205180400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1307e20d4647
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #212599 - Use Cmd rather than Meta in shortcut descriptions
Comment 5 Theofanis Oikonomou 2012-05-21 14:29:59 UTC
I can reproduce the screen shot in jdk1.7.0_04. If I am using jdk1.6.0_31 I can see the icon symbols and not the Meta/Alt words. Reassigning to jdk problems
Comment 6 Petr Jiricka 2012-05-21 15:39:49 UTC
I confirm I have the same behavior, reopening.
Comment 7 Svata Dedic 2012-06-06 11:35:38 UTC
Also note issue #205820: the code that performs KeyStroke-to-human-readable conversion is duplicated in Editor Settigns Storage and Keymap Options, and does not work exactly the same. I suggest that Keymap Options exports these utility methods as an API, so we have one place with ultimate responsibility for Keystroke presentation. Also I could blame the Shortcut Finder API, which transfers the keystroke in a human-readable form, instead of Emacs portable one.
Comment 8 Svata Dedic 2012-06-06 12:12:21 UTC
Oops, wrong issue number; the correct relevant issues are issue #213201 and issue #213422