[kde] [Bug 474469] New: (Custom Shortcut) command execution has a slight delay on shortcut pressed

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Sep 13 04:26:43 BST 2023


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

            Bug ID: 474469
           Summary: (Custom Shortcut) command execution has a slight delay
                    on shortcut pressed
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: unblended_icing552 at simplelogin.com
  Target Milestone: ---

SUMMARY
On Plasma **Wayland** session, custom shortcut command executes with a slight
delay instead of instantaneously.

STEPS TO REPRODUCE
1. Install `ydotool` https://github.com/ReimuNotMoe/ydotool and setup uinput
permission correctly
2. Start `ydotoold` as current user
3. In Shortcuts Settings page, select "Add Command"
4. `ydotool mousemove -- 0 -50`
5. Assign a shortcut to the command
6. Press that shortcut

OBSERVED RESULT
Mouse cursor position moves with a slight delay.

EXPECTED RESULT
Mouse cursor position should move right after the shortcut is pressed, similar
to when it's executed in a terminal emulator like Konsole.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 2.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
It's Wayland session instead of X11 session.

`ydotoold` needs to be running as current user. To setup uinput permission:
```bash
cat << 'EOF' | sudo tee /etc/udev/rules.d/99-uinput.rules > /dev/null
KERNEL=="uinput", GROUP="input", MODE="0660"
EOF
sudo udevadm control --reload-rules
sudo udevadm trigger /dev/uinput
sudo usermod -aG input $USER
```

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


More information about the Unassigned-bugs mailing list