Bug 433301 - Wayland session does not apply one keyboard layout
Summary: Wayland session does not apply one keyboard layout
Status: VERIFIED DUPLICATE of bug 433576
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: 5.21.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-20 08:44 UTC by Loïc Yhuel
Modified: 2021-10-05 04:17 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Loïc Yhuel 2021-02-20 08:44:42 UTC
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.
Comment 1 youduda 2021-02-20 20:28:04 UTC
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
Comment 2 dakiyo2752 2021-02-20 22:32:29 UTC
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?
Comment 3 dakiyo2752 2021-02-23 09:56:44 UTC
Correction: the sudden shift to en-us does also happen when just de and de is selected.
Comment 4 Patrick Silva 2021-05-31 13:13:19 UTC

*** This bug has been marked as a duplicate of bug 433576 ***
Comment 5 monochromec 2021-10-05 04:17:25 UTC
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.