[kde] [Bug 469349] Custom Shortcuts gobble "keyboard input" letter

Jaggz H. bugzilla_noreply at kde.org
Thu Jun 1 07:51:31 BST 2023


https://bugs.kde.org/show_bug.cgi?id=469349

--- Comment #4 from Jaggz H. <jaggz.h at gmail.com> ---
I created them in the normal Settings -> Shortcuts -> Custom Shortcuts.
I created a New Global Shortcut -> Keyboard Input
Email address is like:
  M:Y:E:M:A:I:L:Shift+2:G:M:A:I:L:.:C:O:M  (that first 'm' never gets sent)
Trigger:
 Meta+Ctrl+Shift+j (j for jaggz)

With the following information, from my testing, it seems it Might have
something to do with the modifier keys used in the trigger...

I have another keyboard input shortcut (created like normal, and assigned to a
single key on my keyboard; ie. no modifiers);
this shortcut sends out "^A^A"  (I use it so a single key can toggle my tmux
panes).  Thus, its entry in the shortcut's action area is:
  Ctrl+A:Ctrl+A
When I use it I get an 'a' (letter) output into Konsole.  Actually what it
sends out is the 'a' followed by a ^A.
So it seems the initial "Ctrl" in the shortcut action is being lost somehow. 
Notice the first letter of those other macros is being lost.
But, if I use the keystroke again it works fine, even if I type normal things
in-between.
It'll keep working after that, until I use one of the Meta+Ctrl+Shift
shortcuts. If I use one of them, this single-key assigned to ^A^A puts out  the
a^A again.

Another note: I made a new hotkey T:E:S:T, assigned to a single key on the
keyboard.  It outputs fine.  And the single key for ^A^A works after it too.
So, it does seem like something with the modifier keys in the other macros
might be related.

Also, they don't look weird in khotkeysrc:
[Data_4_12Triggers]
Comment=Simple_action
TriggersCount=1

[Data_4_12Triggers0]
Key=Meta+Ctrl+Shift+J
Type=SHORTCUT
Uuid={.....uuid here.....}

...
[Data_4_12Actions0]
DestinationWindow=0
Input=J:A:G:G:Z:.:H:Shift+2:G:M:A:I:L:.:C:O:M
Type=KEYBOARD_INPUT
...
[Data_4_35Actions0]
DestinationWindow=0
Input=T:E:S:T
Type=KEYBOARD_INPUT




So, it seems these modifier sequences somehow mess something up.

Last note: the email outputs (using modifiers) never work.  They *always* skip
the first letter no matter what I've tried.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list