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 46808 - Command-G should be find next on mac
Summary: Command-G should be find next on mac
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on: 26854 46806 46811
Blocks:
  Show dependency tree
 
Reported: 2004-07-31 15:46 UTC by _ tboudreau
Modified: 2008-12-22 19:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch to editor and core/ui to map ctrl-g differently on mac (ctrl will be automattically remapped to command once other patches are in place) (4.94 KB, patch)
2004-07-31 16:30 UTC, _ tboudreau
Details | Diff
Revised patch (2.79 KB, patch)
2004-07-31 18:29 UTC, _ tboudreau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2004-07-31 15:46:30 UTC
Mac HIE guidelines and other mac apps bind Command-G to 
GotoAction.  We will soon integrate a patch which remaps layer-
specified Ctrl-nnn to Command-nnn for cases where the 
resulting bindiing does not conflict with the OS.  Goto should be 
conditionally bound to Alt-G on the mac and Control-G 
elsewhere.
Comment 1 _ tboudreau 2004-07-31 16:30:23 UTC
Created attachment 16584 [details]
Patch to editor and core/ui to map ctrl-g differently on mac (ctrl will be automattically remapped to command once other patches are in place)
Comment 2 _ tboudreau 2004-07-31 18:16:05 UTC
Minor correction - with the addition of explicit key mappings in the newest patch for issue 
26854, it is possible for Goto to always be bound to CTRL-G, even on mac, which is pretty 
much the best of all possible worlds.

I will attach a new patch that takes this into account.
Comment 3 _ tboudreau 2004-07-31 18:29:10 UTC
Created attachment 16588 [details]
Revised patch
Comment 4 _ tboudreau 2004-07-31 18:33:18 UTC
The attached patch works in combination with the (hopefully soon to be committed) 
patches for issue 26854.  So, what will happen is basically simply that:

Ctrl-G will be Goto on the mac, just like everywhere else.

On the mac:
Command-G will be find-next, as with other mac apps.
Command-Shift-G will be find previous
Command-Ctrl-G will be find selection

(the second two normally map to Shift-F3 and Ctrl-Shift-F3, respectively; it's more 
intuitive to keep them together).
Comment 5 Jesse Glick 2004-08-16 18:05:42 UTC
I guess the global binding should be handled in the ide/applemenu module.
Comment 6 _ tboudreau 2004-08-16 21:04:49 UTC
Better description - leaving ctrl-g bound to Goto on the mac is just
fine - just also map Meta to Find Next, which is what the current
patches do.
Comment 7 _ tboudreau 2004-09-08 18:11:45 UTC
Fixed as part of issue 46811
Comment 8 Jaromir Uhrik 2005-07-14 16:18:04 UTC
Verified.