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 106451 - Unnecessarily difficult keybinding for Fix Imports on Mac keyboard
Summary: Unnecessarily difficult keybinding for Fix Imports on Mac keyboard
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Ondrej Langr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-13 04:39 UTC by _ tboudreau
Modified: 2007-09-26 09:14 UTC (History)
3 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 _ tboudreau 2007-06-13 04:39:17 UTC
Fix Imports is re-bound automatically to Ctrl-Shift-F on Mac OS.  Because of the keyboard layout on Mac OS, this is actually a relatively difficult and 
uncomfortable thing to type - for an extremely common action.

On the other hand, Command-Shift-F is very easy to type (thumb on command, litle finger on shift, index finger on F).  I'd suggest these two bindings be 
swapped on Mac OS.
Comment 1 Ondrej Langr 2007-08-02 11:25:08 UTC
Is this issue related  mto old Netbeans 5.5 profile or the new profile? If it is related to the new profile, it is
probably a relict from the old profile. The Fix Imports action is assigned Ctrl+Shift+I on PC, which should be
automatically (ctrl->cmd) translated to Cmd+Shift+I, which is rather easy to type. 
Comment 2 Jan Becicka 2007-09-06 17:53:35 UTC
Does Cmd+Shift+I work on Mac?
Comment 3 Torbjorn Norbye 2007-09-06 18:08:13 UTC
It does - but it's now already bound to "Insert Code" on the Mac, see issue 106453.
Comment 4 _ tboudreau 2007-09-07 03:17:46 UTC
Yes, although I think Hrebejk just also bound Insert Code to that in issue 106453.
Comment 5 Ondrej Langr 2007-09-07 14:31:44 UTC
The Ctrl + Shift + F mentioned is a relict of the old shortcut profile (there it is Alt + Shift + F for PC -> Ctrl +
Shift + F for mac) which for some reason remains unchanged. According to the new profile it should be Ctrl + Shift + I
for PC -> Cmd + Shift + I for Mac, which is easy to type. 'Insert Code' should be assigned Ctrl+I (because it is Ctrl +
Insert on PC and there is no Insert on Mac computers. By assigning 'Generate Code' to Ctrl+I (Mac), not Cmd+I we avoid
the clash with action assigned ctrl + I on PC in the future).
Comment 6 Ondrej Langr 2007-09-07 15:00:10 UTC
The original complaint was that Ctrl + Shift + F is difficult to hit. 'Fix All Imports' action should have Cmd + Shift +
I according to the new shortcut profile (specification: http://wiki.netbeans.org/wiki/view/KeymapProfileFor60), so
closing this issue as invalid.