Created attachment 141904 [details] Trigger pane, action pane and result of typing a custom shortcut SUMMARY Shortcuts with Alt-<letter> as the trigger fail to output the first instance of <letter> when <letter> is part of the action. STEPS TO REPRODUCE 1. System Settings -> Shortcuts -> Custom Shortcuts 2. Create a shortcut triggered by Alt-<letter> and include multiple copies of <letter> in the Action. 3. Click the Apply button. 4. Go to a program that accepts keyboard input, such as vim, and type Alt-<letter>. OBSERVED RESULT The keys in the shortcut's action are displayed EXCEPT for the first instance of <letter>. EXPECTED RESULT All the keys in the shortcut's action are displayed. SOFTWARE/OS VERSIONS Windows: macOS: Linux: Fedora 34 Linux/KDE Plasma: System Settings 5.22.4 (available in About System) KDE Plasma Version: 5.22.5 (source: plasma-workspace-5.22.5-2.fc34.src.rpm) KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION The workaround is to add an extra <letter> as needed to the action keys. For example, I have an Alt-y shortcut for my e-mail address for which the action WAS 'd:a:v:i:d:l:e:v:n:e:r:Shift+2:y:a:h:o:o:.:c:o:m'. When I typed Alt-y, 'davidlevner@ahoo.com' was output. I changed the action to 'd:a:v:i:d:l:e:v:n:e:r:Shift+2:y:y:a:h:o:o:.:c:o:m' and now when I type Alt-y, I get 'davidlevner@yahoo.com'.
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.