You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This text: abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
is pasted as: abcsftdhuneimky;qprglvwxjz1234567890ABCSFTDHUNEIMKY:QPRGLVWXJZ
Changing to qwerty fixes the issue. To Reproduce
Change the keyboard layout to colemak
My code is basic - is was the same on some older version of the crate, I upgraded to lastest nad nothing changed. Printing it is ok.
I reopened the issue, because using the text method was correct. Keyboard::key is only intended to be used when your intention is to press or release a key (e.g press SHIFT). If I understood correctly, you want to type text and don't really care which (or if any) keys are pressed or released.
The reason why the wrong characters are entered is probably because right now a hard-codedkeymap is used and that probably conflicts with Colemak. I am surprised though that the text_input protocol was not used. Which DE do you use?
The situation with text input on Wayland is still quite messy. I need to improve enigo a lot to get it working properly :S
Describe the bug
This text:
abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
is pasted as:
abcsftdhuneimky;qprglvwxjz1234567890ABCSFTDHUNEIMKY:QPRGLVWXJZ
Changing to qwerty fixes the issue.
To Reproduce
Change the keyboard layout to colemak
My code is basic - is was the same on some older version of the crate, I upgraded to lastest nad nothing changed. Printing it is ok.
Expected behavior
Works
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: