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 168656 - Mac keyboard shortcut modifier (META) not available in text widgets, etc. when Nimbus L&F is active
Summary: Mac keyboard shortcut modifier (META) not available in text widgets, etc. whe...
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 07:24 UTC by cemerick
Modified: 2013-09-03 14:24 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 cemerick 2009-07-16 07:24:25 UTC
When using the Nimbus L&F under NB 6.7, OS X 10.5.x, JDK 1.6.0_13, many text widgets are inappropriately binding
keyboard shortcuts using Ctrl, rather than Meta.

Note that all general-purpose keyboard shortcuts in the IDE/platform, including text editing shortcuts defined in text
editors, work fine.  This issue only affects specific text widgets, which generally appear in dialogs or other
specialized input scenarios.

Detailed example:

1. Open a code editor
2. Type Meta+F to open the find dialog tied to the bottom of the editor
3. enter some search string
4. Type Meta+A -- which should select all of the text in the search box, but doesn't
5. Note that Ctrl+A selects all of the text instead

This pattern is repeated in other miscellaneous areas:

- the find-and-replace dialog
- the Go To Type and Go To File dialogs
- the quick search dialog

I'm sure there's other areas where this is a problem.
Comment 1 Andrei Chistiakov 2009-07-17 12:54:23 UTC
Reassigning to Editor
Comment 2 Vitezslav Stejskal 2009-09-03 15:26:48 UTC
Pardon my ignorance please, but how do I turn on Nimbus L&F on Mac? I tried starting Netbeans with
--laf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel, but it didn't seem to work. Thanks
Comment 3 cemerick 2009-09-15 12:24:49 UTC
I've been using "--laf Nimbus" as the jvm argument under OS X, windows, and linux.  Seems to be the only way to do it in
a cross-platform way.
Comment 4 Vitezslav Stejskal 2009-09-16 17:03:23 UTC
Thanks. I can reproduce it now.
Comment 5 Svata Dedic 2013-09-03 14:24:47 UTC
Worksforme in 7.4; probably fixed during the time.