Summary: | Sticky Keys lock state under Wayland does not result in shifted keys | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Sapphire Cat <devel+kde> |
Component: | input | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | duha.bugs, kde, kde, nate, nicolas.fella |
Priority: | NOR | Keywords: | accessibility |
Version First Reported In: | 6.4.5 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sapphire Cat
2025-09-20 13:47:22 UTC
I have also reported this downstream: https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/2125291 While doing the research on that, I found more info: 1. It's definitely any text input, e.g. Firefox location bar and form fields, Kate, etc. It is not app-specific nor toolkit-specific. 2. The Lock Keys Status applet in the tray reflects the incorrect results: when pressing SHIFT the second time, it disappears from the tray, instead of remaining but changing from "Latched" to "Locked." On an X11 session, the applet (and locked state) function as expected. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8142 Git commit 5f48d5ba511a29064efd8ca3c55c1d283a2be12e by Xaver Hugl. Committed on 24/09/2025 at 12:36. Pushed by zamundaaa into branch 'master'. autotests/integration: make the sticky keys test more complete And fix modifier state caused by sticky keys not being reported to keystate protocol users. Sticky key locking still doesn't work properly with this, as we lock keys on press, but libkxbcommon afterwards unlocks keys on release. The relevant checks in the test are commented out until that's fixed. M +2 -1 autotests/integration/CMakeLists.txt M +20 -0 autotests/integration/kwin_wayland_test.h M +33 -10 autotests/integration/sticky_keys_test.cpp M +26 -0 autotests/integration/test_helpers.cpp M +16 -2 src/plugins/stickykeys/stickykeys.cpp https://invent.kde.org/plasma/kwin/-/commit/5f48d5ba511a29064efd8ca3c55c1d283a2be12e A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8150 Git commit 837e0849504836cfb728c6655f8eedf01e45dc89 by Xaver Hugl. Committed on 24/09/2025 at 14:30. Pushed by zamundaaa into branch 'Plasma/6.5'. autotests/integration: make the sticky keys test more complete And fix modifier state caused by sticky keys not being reported to keystate protocol users. Sticky key locking still doesn't work properly with this, as we lock keys on press, but libkxbcommon afterwards unlocks keys on release. The relevant checks in the test are commented out until that's fixed. (cherry picked from commit 5f48d5ba511a29064efd8ca3c55c1d283a2be12e) Co-authored-by: Xaver Hugl <xaver.hugl@kde.org> M +2 -1 autotests/integration/CMakeLists.txt M +20 -0 autotests/integration/kwin_wayland_test.h M +33 -10 autotests/integration/sticky_keys_test.cpp M +26 -0 autotests/integration/test_helpers.cpp M +16 -2 src/plugins/stickykeys/stickykeys.cpp https://invent.kde.org/plasma/kwin/-/commit/837e0849504836cfb728c6655f8eedf01e45dc89 |