SUMMARY KTouch doesn't recognize Neo keyboard layout ("German (Neo 2)"). When I switch to neo layout, start ktouch and select the "Deutsches Neo 2" course, it tells me: "The selected course is not intended for your computer's active keyboard intput". I then can't do the unit - it doesn't recognize the keys. STEPS TO REPRODUCE 1. Start ktouch 2. Switch to neo keybord layout 3. Try to do a neo unit OBSERVED RESULT It's not possible to type in the correct keys. EXPECTED RESULT KTouch should detect the correct keyboard layout and get the correct keys pressed. SOFTWARE/OS VERSIONS Linux: Arch Gnome Version: 3.36.2 (Wayland) KDE Frameworks Version: 5.70.0 Qt Version: 5.14.2 ADDITIONAL INFORMATION When I start ktouch from gnome-terminal it tells me "Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome.". Starting ktouch with QT_QPA_PLATFORM=wayland, it only shows me a white window.
My developer machine is still on X11, so I never tried to run KTouch on Wayland so far. I still don't think this actually a KTouch bug. KTouch only uses standard text input for its training mode.At no point it tries to map key codes to a concrete keyboard layout to produce text. This left to Linux input stack just like almost every other application. What happens if you input text in any of the text fields of KTouch? (Try creating a new profile, enter a name). The NEO layout has to be active here as well or training with it can't work. My guess is that KTouch is still running with your original keyboard layout. You have to use the system control panel to setup the correct keyboard layout first.
After creating a new profile I indeed can input my name in the desired keyboard layout. But after that, I cannot perform a lesson because of the mentioned warning message...
Hi Martin, I've found (mentioned in https://bugs.kde.org/show_bug.cgi?id=422088) that KTouch runs best with `QT_QPA_PLATFORM=xcb` at the moment.