Bug 496767

Summary: Latched sticky keys become un-latched after returning from sleep or screen Lock
Product: [Plasma] kwin Reporter: alexteichmann79sf
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: butirsky, duha.bugs, john.kizer, natalie_clarius, nate
Priority: NOR Keywords: accessibility
Version First Reported In: 6.2.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description alexteichmann79sf 2024-11-27 19:32:06 UTC
SUMMARY
Stickys keys are disabled after standby or screen lock

STEPS TO REPRODUCE
1.  Enable Sticky Keys and type 
2.  Set System to standby mode or lock screen
3.  Recover from standby or unlock screen and type

OBSERVED RESULT
Sticky Keys are disabled

EXPECTED RESULT
Sticky keys

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Arch Linux 6.12 (Wayland
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0 
Qt Version: 6.8.0

ADDITIONAL INFORMATION
Comment 1 John Kizer 2024-12-01 21:47:04 UTC
Hi - I can't reproduce this on my system below. When you observe that Sticky Keys are disabled, does that mean that:

* The setting (in System Settings > Accessibility) still appears to be selected, but is no longer actually functioning

Or, does that mean that

* The setting is now visibly switched off (checkbox is unchecked) in System Settings?

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.8-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 30.4 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070 SUPER/PCIe/SSE2
Comment 2 alexteichmann79sf 2024-12-01 22:49:57 UTC
It's the first. The setting (in System Settings > Accessibility) still appears to be selected, but is no longer actually functioning.
You have to try type with sticky keys to get the error
Before standby/screen lock: sticky key function properly
After standby/screen lock: sticky key functions stiil seems activated, but i only get lower keys after a shift, for example
Comment 3 John Kizer 2024-12-02 03:34:04 UTC
Got it - I can't reproduce with either capital letter typing or shortcut usage, so it might be helpful to add to this report any non-default input methods or keyboard layout settings you have in place, just in case there's some common factor there. 

Thanks!
Comment 4 Nate Graham 2024-12-04 11:17:02 UTC
Can reproduce. Interestingly any latched keys key remains latched while on the screen locker, but becomes un-latched afterwards.