Bug 518371 - Clicking keyboard icon does not send the XKB group ID to Wayland input-method protocol
Summary: Clicking keyboard icon does not send the XKB group ID to Wayland input-method...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 6.6.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-31 12:25 UTC by fujiwara
Modified: 2026-04-16 18:18 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fujiwara 2026-03-31 12:25:11 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
I'd like to know the current XKB group ID via the Wayland input-method but cannot do it.

STEPS TO REPRODUCE
1. Configure XKB group layouts for the default session. E.g. "us,de" in /etc/vconsole.conf and /etc/X11/xorg.conf.d/00-keyboard.conf
2. Log into the Plasma Wayland session
3. Keymap icon shows the firsts XKB layout in the Plasma panel . E.g. "us"
4. Click the keyboard icon and the icon shows the next layout. E.g "de"

OBSERVED RESULT
The Wayland client signal wl_keyboard_listener->modifiers() is not called.

EXPECTED RESULT
The Wayland client signal wl_keyboard_listener->modifiers() is called with the updated group ID.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora 44/Plasma Wayland
KDE Plasma Version: 6.6.1
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2

ADDITIONAL INFORMATION

When I switch the XKB group layout with a shortcut key of the XKB option key likes "grp:toggle", the signal is called with the updated group ID and the keyboard icon also shows the updated layout.