Bug 440278 - Custom shortcuts of "Send Keyboard Input" type fail to repeat and sometimes fail to get caught.
Summary: Custom shortcuts of "Send Keyboard Input" type fail to repeat and sometimes f...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (other bugs)
Version First Reported In: 5.22.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-25 20:54 UTC by Gustavo S
Modified: 2024-03-04 19:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo S 2021-07-25 20:54:48 UTC
SUMMARY: Custom shortcuts of "Send Keyboard Input" type fail to repeat and sometimes fail to get caught. 


STEPS TO REPRODUCE
0. (Make sure the keyboard repeat is set to repeat on hold)
1. Go to Custom shortcuts
2. Create a new shortcuts called "Right" as a New->GlobalShortcut->SendKeyboardInput with the Trigger Alt+L (like vim keys) and set the final action to "Right" (without quotes). Note: Alt is just an example, this also occurs with meta and other keys. 
3. Save & apply
4. In a text editor, hold Alt+L to trigger new shortcut


OBSERVED RESULT
The right action is observed exactly once, no matter if the shortcut is held or just pressed once. Additionally, sometimes the shortcut is just missed altogether and an 'l' gets printed (ignoring the ALT).  

EXPECTED RESULT
The "Right" action should be repeated after the same delay and at the same frequency as set in the keyboard repeat section. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.22.3
(available in About System)
KDE Plasma Version: 5.22
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Tested on a completely fresh KDE Neon 5.22 install as well as VM
Comment 1 cw9000 2022-10-04 13:01:29 UTC
This is happening to me as well:

Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.14.21-150400.24.21-default (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i7-12700K
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: ASUS



This is very important to me.  KDE is the only way I can get the shortcuts to work in all apps, and the shortcuts are a life saver.
PLEASE update it to include autorepeat   -- and in addition to this behavior that was present in Leap 15.3, it would be nice to set it for each shortcut.  But that's an extra feature.  Right now we are talking about a regression.
Comment 2 Nate Graham 2024-03-04 19:42:10 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.