question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dvorak keyboard on OSX not supported when doing cut and paste CMD-V, etc

See original GitHub issue

When 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:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
Jugencommented, Feb 17, 2019

Ok, I’ll try and do a PR based on this in the next few days …

1reaction
dgelessuscommented, Feb 14, 2019

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 and Y (which are KeyCode 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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found