Bug 514936 - Keyboard layout broken
Summary: Keyboard layout broken
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 6.5.5
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-22 13:51 UTC by Alex Turbov
Modified: 2026-01-23 12:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Configured layouts (114.93 KB, image/png)
2026-01-23 12:29 UTC, Alex Turbov
Details
Missed keyboard layout indicator in tray (98.17 KB, image/png)
2026-01-23 12:31 UTC, Alex Turbov
Details
RMB on tray "icon" (100.13 KB, image/png)
2026-01-23 12:32 UTC, Alex Turbov
Details
Configure keyboard layouts dialog (43.58 KB, image/png)
2026-01-23 12:33 UTC, Alex Turbov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Turbov 2026-01-22 13:51:44 UTC
SUMMARY

Keyboard layout indicator and switching stop working (seems to have happened after the upgrade to 6.5.5, but I'm not sure). Now I can type only English (first layout) and can't see the indicator in the system tray (Wayland). In the Xorg session, I see only the `US` indicator, and on RMB, it shows only this one layout.

STEPS TO REPRODUCE
1. Add an extra keyboard layout
2. Check the `journalctl --user`
3. 

OBSERVED RESULT

```
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: XKB: [XKB-338] Couldn't find file "types/custom" in include paths
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: XKB: [XKB-338] 1 include paths searched:
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: XKB: [XKB-338]         /usr/share/X11/xkb
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: XKB: [XKB-338] 3 include paths could not be added:
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: XKB: [XKB-338]         /home/zaufi/.config/xkb
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: XKB: [XKB-338]         /home/zaufi/.xkb
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: XKB: [XKB-338]         /etc/xkb
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: XKB: [XKB-661] Couldn't process include statement for 'custom'
Jan 22 17:37:11 extop kwin_wayland_wrapper[84888]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Jan 22 17:37:11 extop kwin_wayland_wrapper[84888]: > Warning:          Unsupported maximum keycode 708, clipping.
Jan 22 17:37:11 extop kwin_wayland_wrapper[84888]: >                   X11 cannot support keycodes above 255.
Jan 22 17:37:11 extop kwin_wayland_wrapper[84888]: > Warning:          Virtual modifier Hyper multiply defined
Jan 22 17:37:11 extop kwin_wayland_wrapper[84888]: >                   Using 0, ignoring 0
Jan 22 17:37:11 extop kwin_wayland_wrapper[84888]: > Warning:          Virtual modifier ScrollLock multiply defined
Jan 22 17:37:11 extop kwin_wayland_wrapper[84888]: >                   Using 0, ignoring 0
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: XKB: [XKB-769] Abandoning keytypes file "(unnamed map)"
Jan 22 17:37:11 extop kwin_wayland_wrapper[84888]: Errors from xkbcomp are not fatal to the X server
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: XKB: Failed to compile xkb_types
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: XKB: [XKB-822] Failed to compile keymap
Jan 22 17:37:11 extop kwin_wayland[1773]: kwin_xkbcommon: Could not create xkb keymap from configuration
```

EXPECTED RESULT
Keyboard layout indicator works and is able to switch layouts

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  
KDE Plasma Version: 6.5.5 
KDE Frameworks Version:  6.22
Qt Version: 6.9.3

ADDITIONAL INFORMATION
Comment 1 Akseli Lahtinen 2026-01-23 11:50:22 UTC
I can't reproduce this with EurKEY (US) And Finnish layouts. Can you share all the layouts you are using?

Operating System: KDE Linux 2026-01-22
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.18.6-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600
Comment 2 Alex Turbov 2026-01-23 12:29:59 UTC
Created attachment 188817 [details]
Configured layouts
Comment 3 Alex Turbov 2026-01-23 12:31:23 UTC
Created attachment 188819 [details]
Missed keyboard layout indicator in tray
Comment 4 Alex Turbov 2026-01-23 12:32:26 UTC
Created attachment 188820 [details]
RMB on tray "icon"
Comment 5 Alex Turbov 2026-01-23 12:33:35 UTC
Created attachment 188821 [details]
Configure keyboard layouts dialog