Dvorak keyboard on OSX not supported when doing cut and paste CMD-V, etc
See original GitHub issueWhen CMD-C, X, V, A, etc… is pressed while the keyboard is on Dvorak, it does not work as expected but goes back to the original Qwerty Keys
‘C’ for Dvorak maps to Qwerty I
key, CMD-C
is actually CMD-I
‘V’ for Dvorak maps to Qwerty .
key, CMD-V
is actually CMD-.
‘X’ for Dvorak maps to Qwerty B
key, CMD-X
is actually CMD-B
To get it working, CMD-'QWERTY-C'
has to be used whilst on Dvorak.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Use Dvorak keyboard layouts on Mac - Apple Support
Use Dvorak keyboard layouts on Mac · On your Mac, choose Apple menu > System Settings, then click Keyboard in the sidebar. (You...
Read more >Custom keyboard layout: Command+V doesn't paste in Safari ...
I've read that some Cmd+… shortcuts are special and can't be overridden, but why does it work with cut/copy but not with paste?...
Read more >Word for Mac does not properly handle keyboard layouts with ...
I am using a keyboard layout (Swedish Dvorak) which has different key maps ... such as those for copy, cut, paste, undo, redo,...
Read more >Mac Style "Dvorak - Qwerty Command" keyboard mapping for ...
The Mac has solved this problem by having a keyboard layout called "Dvorak - Qwerty Command", where the keyboard is normally in Dvorak...
Read more >In Windows is there a Dvorak keyboard that works as Qwerty ...
In Mac, there is a keyboard that normally works as dvorak but whenever ... For example, normally in qwerty to copy it would...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, I’ll try and do a PR based on this in the next few days …
Similar issue here with the German QWERTZ layout. The shortcut for “Undo” should be Cmd+Z, but I have to press Cmd+Y (which would be Cmd+Z on a QWERTY keyboard).
I think the issue is not JavaFX, but rather that RichTextFX binds the undo/redo shortcuts by key code (i. e. physical key) rather than key character:
https://github.com/FXMisc/RichTextFX/blob/567e7e858ea08920895697c74302592fe800c909/richtextfx/src/main/java/org/fxmisc/richtext/GenericStyledAreaBehavior.java#L70-L73
Replacing the uses of
Z
andY
(which areKeyCode
constants) with"Z"
and"Y"
(strings) should make the key combination dependent on the character instead of the code. The same applies to the other key combinations that involve letters (Cmd+A, +X, +C, +V).