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

            Bug ID: 427509
           Summary: khotkeys crash and related bugs, when assigning
                    shortcuts to "send keyboard input"
           Product: khotkeys
           Version: 5.18.4
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: k...@michael-jansen.biz
          Reporter: as.afgre.enb...@gmail.com
  Target Milestone: ---

Created attachment 132257
  --> https://bugs.kde.org/attachment.cgi?id=132257&action=edit
my khotkeys

khotkeys crash and bugs when assigning shortcut to "send keyboard input"

these multiple bugs might be related?

steps to recreate; all in program: "custom shortcuts"  (kcmshell5 khotkeys)

bug1:

1. create a new group
2. select / highlight the new group
3. create a new item: "new" > "global shortcut" > "send keyboard input"
4. the program crash.

bug2:

1. create a new global hortcut outside any group
2. crashes.

bug 3:

1. next, I run "custom shortcuts" again
2. drag the new orphand items (i.e. not inside a group) into a group.
3. press OK
4. run "custom shortcuts" again
5. the items are still outside the group

bug 4:

1. define new, or reset created "keyboard action":
2. assign a shortcut key (I tried Meta+M, Meta+W, alt+ctrl+N)
3. assign a keyboard action (i.e. any string)
4. press Apply / Ok
5. the keyboard input is not sent
6. when I press the shortcut, I see a brief flicker in the whole GUI/screen.
7. the settings appears in ~/.config/khotkeysrc , and seems "in order".

bug 5: non-ascii

1. install xdotool
2. in "custom shortcuts" create a "new > global shortcut > action / url"
3. assign a shortcut to "xdotool type ascii-text"  --> works
4. assign a shortcut to "xdotool type ₪"  --> throws garbage keyboard event


Comments:

 - this xdotool command works, with unicode, from the console, but not when set
in "khotkey".
 - this xdotool appears in ~/.config/khotkeysrc as CommandURL=xdotool type
$'\\u20AA'
 - I never edited manually ~/.config/khotkeysrc
 - plasmashell --version 5.18.5
 - kubuntu 20.04
 - all updates applied.
 - bug probably existed also on ubuntu 16 + kde.
 - khotkeys/focal,now 4:5.18.4.1-0ubuntu1 amd64
 - assigning and reassigning keys: the results are inconsistent.  i.e. the
outcome of pressing the shortcut keys send different keys each time (just not
the keys I intended)

Might be related (old, 5+ years old bugs) :
https://bugs.kde.org/show_bug.cgi?id=165099 "Keyboard shortcuts can't be set
for khotkeys"
https://bugs.kde.org/show_bug.cgi?id=342263 "Deleted custom shortcut is [...]
in Global Keyboard Shortcuts"
https://bugs.kde.org/show_bug.cgi?id=185904 "khotkeys keyboard shortcuts not
working"
https://bugs.kde.org/show_bug.cgi?id=348456 "Keyboard input shortcut keys do
not work"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to