Bug 500836

Summary: Setting XKB Keyboard Model does not work on Wayland
Product: [Plasma] kwin Reporter: Werner Sembach [TUXEDO] <wse>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: duha.bugs
Priority: NOR    
Version First Reported In: 6.3.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Werner Sembach [TUXEDO] 2025-02-27 20:35:33 UTC
SUMMARY
Setting a XKB keyboard model does not work on Wayland. I tried both using the systemsettings (Keyboard->Keyboard->Model) and a systemd-hwdb rule https://github.com/systemd/systemd/pull/36536 .

STEPS TO REPRODUCE
1. Select a model different from the default "Generic | Generic 104-key PC"

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
The different bindings of the selected model are applied.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: TUXEDO OS
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
On X11 changing the model via systemsettings works, the systemd-hwdb setting however also seems to be ignored there.
Comment 1 Werner Sembach [TUXEDO] 2025-02-28 22:32:45 UTC
I got a hint why it probably isn't working: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/merge_requests/794#note_2803713

I used RedirectKey in the XKB model config, which isn't supported on wayland.