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.
Several keyboard shortcuts don't work on Mac OS X. In some cases the OS overrides shortcuts, in others, the translated key combination doesn't have any effect. Some of the offenders are: Ctrl-F7: Find usages Cmd-Period: Next usage/compile error Cmd-Shift-3: Select in Favorites Alt-Up/Down: Next/Previous marked occurrence Alt-F9/F9: Compile Package/ File Alt-F11/F11: Build main project Alt-Shift-F11: Clean & build main project
Shift F10: Open Contextual Menu also doesn't work, however the following wiki page explains a workaround: http://wiki.netbeans.org/FaqPopupFromKeyboardOnMac Maybe a better option would be to assign a different keyboard combination.
There is a special issue for find usages, see #138446. I'll assign some different keybindings for the others for 6.8.
Max, please when you assign the shortcuts, send them to me and/or track them here. Thanks.
Jirko, could you please check on the Mac what shortcuts from the list above are still problematic? Thanks.
Ctrl-F7: Find usages - it works fine Cmd-Period: Next usage/compile error - cmd-period is default shortcut for Preferences dialog! Cmd-Shift-3: Select in Favorites - cmd-shift-3 by default takes screen shot Alt-Up/Down: Next/Previous marked occurrence - works fine Alt-F9/F9: Compile Package/ File - F9 works fine - Alt-F9 is not used any more in 7.2 Alt-F11/F11: Build main project F11 and shift-F11 is used to hide all window cmd-F11 and alt-F11 works fine Alt-Shift-F11:Clean & build main project alt-shift-F11 is not used any more Product Version: NetBeans IDE Dev (Build 201206070001) Java: 1.7.0_05; Java HotSpot(TM) 64-Bit Server VM 23.1-b03 System: Mac OS X version 10.7.4 running on x86_64; US-ASCII; en_US (nb) User directory: /Users/tester/Library/Application Support/NetBeans/dev Cache directory: /Users/tester/Library/Caches/NetBeans/dev
I can remap CMD+PERIOD to CTRL+period, which seems free. I lack the support to adjust the other shortcuts for just 1 platform - unlike Editor shortcuts, which can be defined specifically for target platform. F11 -> Alt + F11 Shift F11 -> Alt + Shift + F11
Changeset: 5c1fec4162b9 Author: Svata Dedic <sdedic@netbeans.org> Date: 2012-12-05 14:18 Message: Next error should be CTRL+period even on MAC
Integrated into 'main-golden', will be available in build *201212070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5c1fec4162b9 User: Svata Dedic <sdedic@netbeans.org> Log: Issue #167892 - 7 Mac keyboard shortcuts don't work: fixed Next error should be CTRL+period even on MAC
For the record: all but F11, Shift-F11 seem to work. More support is needed in keymap model + nb core for platform-specific shortcuts. I'll remap META-comma (previous error) to CTRL-comma (a hack of sort).
Changeset: b7324626019e Author: Svata Dedic <sdedic@netbeans.org> Date: 2013-03-20 10:41 Message: #167892: fixed previous error for Mac users
Possibly a "NetBeans (MacOS X)" keymap could be provided as a convenience and used by default. But that does not solve other keymap's issues with MacOS key conflicts.
Integrated into 'main-golden', will be available in build *201303232300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b7324626019e User: Svata Dedic <sdedic@netbeans.org> Log: Issue #167892 - F11 (Build main Project) does not work on MacOS: fixed #167892: fixed previous error for Mac users
Fixed in http://hg.netbeans.org/jet-main/rev/d6c5f82587a5