SUMMARY Seemingly khotkeys "types" the input as if the corresponding keys on the physical keyboard were pressed, but it ought to type the text provided by the user. (Rationale: suppose the user switches between keyboard layouts frequently. In this case, their shortcuts will be broken half the time.) Easy to reproduce. This is not the same issue as https://bugs.kde.org/show_bug.cgi?id=355046 STEPS TO REPRODUCE 1. Set your keyboard layout to something other than your physical keyboard's layout. E.g. Dvorak or Colemak. 2. Create a new Custom Shortcut. Make the trigger whatever you like, and the Action "t:e:s:t" (no quotes). 3. Open KWrite, and press the keyboard combination. OBSERVED RESULT KWrite prints ".oy" With a Dvorak layout, when I press the physical keys "test" on my US Qwerty keyboard, "y.oy" is printed. Thus, khotkeys is entering text as if it was physically typed on the buttons given in the Action, instead of respecting the keyboard layout. The reason ".oy" instead of "y.oy" is printed is because of https://bugs.kde.org/show_bug.cgi?id=437618 Specifically, I used the trigger Alt+Y, but the button I press for Y on Dvorak is the physical T button on the keyboard, so the first "t" of keyboard input gets eaten because of that bug. EXPECTED RESULT KWrite prints "test" SOFTWARE/OS VERSIONS Linux: Arch Linux x86_64 (kernel 5.14.14) KDE Plasma Version: 5.23.2 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2
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.