Keyboard shortcuts (Ctrl+any letter) don't work on Wayland when a non-Latin layout is first in the layout list
OS: Manjaro Linux (Arch-based), KDE Plasma, Wayland session (app runs via XWayland)
Version: 1.1.0 (tag), built from source with ./gradlew :desktopApp:createDistributable using OpenJDK 21
Keyboard layouts: Russian + English (US), switched with Shift+Alt
All Ctrl+letter shortcuts do nothing... Ctrl+N, Ctrl+T, Ctrl+F, and also standard ones like Ctrl+A, Ctrl+C, Ctrl+V, Ctrl+Z in text fields.. Regular typing works. Ctrl+arrows and Shift+arrows work. No errors in terminal (only the SLF4J no providers warning)
When the Russian layout is first in the KDE layout list and English is second. It does not matter which layout is currently active - shortcuts fail even with English active.
Reorder the layouts in System Settings -> Keyboard -> Layouts so that English is first. After restarting the app, all shortcuts work, and switching to Russian during use is fine
I think Java AWT seems to resolve key codes from the first XKB layout... With a Cyrillic first layout, the key for "C" is seen as "с", so Compose doesn't recognize Ctrl+C and drops the event, while text input still arrives through a different path.. Arrow keys are layout-independent, which is why they work
BTW, i don't compare with the official release builds...
Thanks for the issue, I will look at it and try to resolve it, when I have the time. Until then I guess having the english as a primary keyboard fixes it.
I have implemented a solution in branch fix/desktop-keyboard-layouts.
Can you please try to build it against this branch and respond if the fix worked? @LicaRedMoth