Bug 464452

Summary: Sticky keys: Lock option doesn't work on Wayland
Product: [Applications] systemsettings Reporter: Nicolas Fella <nicolas.fella>
Component: kcm_accessibilityAssignee: Gunnar Schmidt <gunnar>
Status: RESOLVED FIXED    
Severity: normal CC: bednarczyk.pawel, nate, plasma-bugs, postix
Priority: NOR Keywords: accessibility, wayland
Version: 5.26.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 444335    

Description Nicolas Fella 2023-01-18 13:54:20 UTC
Pressing a modifier key twice should lock it. Pressing it again should unlock it.

Follow-up from https://bugs.kde.org/show_bug.cgi?id=444335
Comment 1 Bug Janitor Service 2023-05-07 20:55:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4069
Comment 2 Vlad Zahorodnii 2023-11-23 08:17:03 UTC
Git commit d4127d07fd55c342d28fa7a6b66b460473c5d00c by Vlad Zahorodnii, on behalf of Nicolas Fella.
Committed on 23/11/2023 at 09:17.
Pushed by vladz into branch 'master'.

Implement locking sticky keys on Wayland

When pressing a latched modifier a second time lock it

When pressing a locked modifier release it

M  +1    -0    autotests/integration/CMakeLists.txt
A  +180  -0    autotests/integration/sticky_keys_test.cpp     [License: GPL(v2.0+)]
M  +38   -6    src/plugins/stickykeys/stickykeys.cpp
M  +2    -0    src/plugins/stickykeys/stickykeys.h
M  +48   -0    src/xkb.cpp
M  +1    -0    src/xkb.h

https://invent.kde.org/plasma/kwin/-/commit/d4127d07fd55c342d28fa7a6b66b460473c5d00c