SUMMARY When only one keyboard layout (!= US) is configured in in wayland session, it isn't applied. STEPS TO REPRODUCE 1. open keyboard settings 2. in layouts tab, enable "configure layouts" 3. remove any layout, and add a French layout 4. apply OBSERVED RESULT The layout is still US (QWERTY). EXPECTED RESULT The layout is FR (AZERTY). SOFTWARE/OS VERSIONS Linux/KDE Plasma: tested with KDE neon and Fedora 34 live image (available in About System) KDE Plasma Version: 5.21.0 KDE Frameworks Version: 5.79.0 or 5.80.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION When two keyboard layouts are configured, then they work, but the layout indicator is shown in the system tray even if "Show layout indicator" is not checked. Everything works properly on an X11 session.
Same issue here with german. My "solution": 1. open keyboard settings 2. in layouts tab, enable "configure layouts" 3. remove any layout, and add a german layout 4. add a second german layout 5. apply
youduda's also worked for me. What I found also interesting: when I had two *different* layouts, us and de, it would mix those two, depending on the application. When I have selected de-de, in emacs or DDNet I had en-us, in firefox and KDE programs de-de. Arch Linux on Wayland At first I thought it was some xorg/wayland stuff, but the xeyes dont move on emacs, so I guess that it's something else?
Correction: the sudden shift to en-us does also happen when just de and de is selected.
*** This bug has been marked as a duplicate of bug 433576 ***
Issue still present on Plasma 5.22.5 with KDE F/W 5.85.0 and Qt 5.12.5. Youduda's work-around seems to be the only viable fix ATM.