Bug 425082

Summary: Custom shortcuts don't work the first few seconds after user switching
Product: [Applications] systemsettings Reporter: Bogomil Vasilev <smirky>
Component: kcm_khotkeysAssignee: Michael Jansen <kde>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: 5.20.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Bogomil Vasilev 2020-08-06 19:38:02 UTC
SUMMARY


STEPS TO REPRODUCE
0. Define some custom shortcuts (i.e. Meta+1 to open urxvt)
1. Login with user X, using SDDM (haven't tested another login manager)
2. Switch to user Y
3. Switch back to user X
4. Use any custom shortcuts in the first couple of seconds after login

OBSERVED RESULT
There's absolutely no response after using the custom shortcuts when switching a user in X.
However, they seem to get stacked somehow and they eventually get pushed after a few seconds. 

EXPECTED RESULT
Custom shortcuts should work immediately after switching a user.
They actually work fine when doing a full login (not just unlocking the account).


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux/5.19.4-1
(available in About System)
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Comment 1 Nate Graham 2024-03-04 19:42:08 UTC
As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now.

Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again.

Thanks for your understanding, everyone.