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 241849 - Shortcut for menu item "Source" > "Format" ignores my Dvorak keyboard layout and assumes Qwerty layout.
Summary: Shortcut for menu item "Source" > "Format" ignores my Dvorak keyboard layout ...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-13 22:47 UTC by basil.bourque
Modified: 2014-02-19 06:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (94.42 KB, text/plain)
2014-02-13 22:48 UTC, basil.bourque
Details

Note You need to log in before you can comment on or make changes to this bug.
Description basil.bourque 2014-02-13 22:47:59 UTC
The Source > Format menu item says it has a keyboard shortcut of Control+Shift+F. Unfortunately, for this particular shortcut NetBeans assumes I have a Qwerty keyboard layout. When I press the physical key marked "Y" (Qwerty physical keyboard), the short cut fails. I have to press the physical key marked "F" to invoke the shortcut.

But I do not have Qwerty layout. I have my Apple System Preferences > Keyboard > Input Source set to "Dvorak' first and "U.S." (Qwerty) second. When Mac OS X was installed, US Qwerty was indeed the keyboard layout chosen. But my Apple System Preferences setting should overrule that in NetBeans.

Oddly, the shortcut to toggle a line as commented-out or commented-in (prepending or removing "//") is Command+/, and this shortcut does respect my soft keyboard layout (Dvorak). I press the physical key marked "[" which in Dvorak is the forward-slash key. 

Why does one keyboard shortcut respect my soft keyboard layout and another does not?

On a related note, why does the Source > Toggle Comment menu item not display the Command+/ shortcut when its menu is pulled down (displayed) but Source > format *does* show a shortcut? Is that a clue?

--Basil Bourque



Product Version = NetBeans IDE 8.0 Beta (Build 201401141042)
Operating System = Mac OS X version 10.8.5 running on x86_64
Java; VM; Vendor = 1.8.0
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Comment 1 basil.bourque 2014-02-13 22:48:03 UTC
Created attachment 145172 [details]
IDE log