-
Notifications
You must be signed in to change notification settings - Fork 43
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
Keyboard shortcuts incorrect on non-QWERTY layouts #118
Comments
This ticket needs a little more info (though I'm not yet completely sure which). Are you using X11 or Wayland? What desktop environment, if any? How did you change your keyboard layout? |
I am using KDE Wayland but it’s also happening on X11. I changed the keyboard layout in the Input Device section of the KDE System Settings app. Dug through the code (both of xivlauncher and imgui) a bit and i think the issue may be due to the use of KeyMap (which according to the code is marked as obsolete and also is about the “physical key” being pressed, presumably in US QWERTY) XIVLauncher.Core/src/XIVLauncher.Core/ImGuiBindings.cs Lines 458 to 482 in 92c44f7
https://github.com/ocornut/imgui/blob/f50ddc431e3b8840036e88abc4c3cf74500aa12b/imgui.h#L1307-L1312 |
On non-QWERTY keyboard layouts, the keyboard shortcuts work incorrectly.
Expected Behavior
To undo text entry, I’d expect to press ctrl+z (z as in the key that produces the z letter), like in all other applications
Actual behavior
To undo text entry, I have to press ctrl+ü (which is the same combination as on QWERTY)
This also applies to copying (mapped to ctrl+c, here ctrl+ä), pasting (mapped to ctrl+v, here ctrl+p), cutting (mapped to ctrl+x, here ctrl+ö)
Steps to reproduce
The text was updated successfully, but these errors were encountered: