-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy keybind (Control + C) does not update clipboard on alternative keyboard layouts #1253
Comments
It seems that GenericStyledAreaBehavior's copy key mapping is never invoked. The WellBehaved event flow is a bit confusing to me so I haven't dug into it much. For comparison, this is a Its acknowledging that this is |
I investigated this further, and the comment here either is not correct, or this does not apply to Russian keyboard layout. KeyCombination SHORTCUT_A = new KeyCodeCombination( A, SHORTCUT_DOWN );
KeyCombination SHORTCUT_C = new KeyCodeCombination( C, SHORTCUT_DOWN );
KeyCombination SHORTCUT_V = new KeyCodeCombination( V, SHORTCUT_DOWN );
KeyCombination SHORTCUT_X = new KeyCodeCombination( X, SHORTCUT_DOWN );
KeyCombination SHORTCUT_Y = new KeyCodeCombination( Y, SHORTCUT_DOWN );
KeyCombination SHORTCUT_Z = new KeyCodeCombination( Z, SHORTCUT_DOWN );
KeyCombination SHORTCUT_SHIFT_Z = new KeyCodeCombination( Z, SHORTCUT_DOWN, SHIFT_DOWN ); |
This seems like a leftover fix back from 2019 which was supposed to fix this bug (?), but now it causes a bug instead |
I've updated the RichTextFX maven 1.0.0-SNAPSHOT for testing. |
I'm not aware of whether it will break Dvorak layout. Frankly, I'm not even sure how to test this, as Windows does not provide me with an option to install that keyboard layout.. |
I've subsequently had a look at the JavaDoc for Will wait a few days for any feedback and then submit a PR for the next release in about two weeks or so. |
On a
ENG
keyboard layoutControl C
copies text in aCodeArea
as one would expect.On other keyboard layouts such as
RUS
the clipboard contents are never updated.copy-pasta-without-sauce.mp4
The text was updated successfully, but these errors were encountered: