Bug 498487

Summary: Sticky Keys Feature Causes Mouse to Enter Permanent Grab Mode
Product: [Applications] systemsettings Reporter: Alexander Ahjolinna <ahjolinna>
Component: kcm_accessibilityAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: duha.bugs, nate, nicolas.fella
Priority: NOR    
Version First Reported In: 6.2.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Ahjolinna 2025-01-10 18:45:20 UTC
When experimenting with the Sticky Keys feature under Accessibility, I encountered a bug after enabling and then disabling the feature. Here's what happened:

Enabled the Sticky Keys feature to test it out.
Pressed Ctrl + Shift + Alt but observed no immediate effect or indication of functionality.
Disabled Sticky Keys, and my mouse unexpectedly entered a persistent "grab mode."
I was unable to perform any actions with the mouse except grabbing and moving windows.
Rebooting the system resolved the issue.
I successfully replicated the issue but cannot confirm if "Lock Sticky Keys" was enabled during my initial test.

Steps to Reproduce:

Enable Sticky Keys under Accessibility settings.
Press Ctrl + Shift + Alt (or potentially other key combinations).
Disable Sticky Keys.
Observe the mouse behavior switching to permanent grab mode.
Expected Behavior:
Disabling Sticky Keys should restore normal mouse functionality without entering grab mode.

Actual Behavior:
The mouse becomes stuck in grab mode, restricting normal usage until a reboot.

Additional Information:

KDE version: [plasma 6.3 beta]
OS/Distribution: [Arch testing]
Replicated: Yes
Possible Suggestions:

Clarify the functionality of Sticky Keys within the UI to avoid confusion for first-time users.
Investigate potential interactions between Sticky Keys and mouse/keyboard input states after disabling.
Comment 1 Nate Graham 2025-01-13 21:13:12 UTC
I can't reproduce this issue with current git master. With the feature enabled, when I press some modifier keys, they get "stuck" as expected. And with them still stuck, disabling the feature un-sticks them.