swhkd icon indicating copy to clipboard operation
swhkd copied to clipboard

Mouse events occur twice

Open aadilshabier opened this issue 11 months ago • 2 comments

Version Information:

  • Distribution Information
Linux archlinux 6.7.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 23 Feb 2024 16:31:48 +0000 x86_64 GNU/Linux
  • swhkd version
swhkd 1.3.0-dev

Describe the bug: Mouse scroll events seem to occur twice when swhkd is being run.

Expected behavior:

  • Screenshot when not running swhkd image

Actual behavior:

  • Screenshot from xev image

To Reproduce: Steps to reproduce the behavior.

Additional information: I've noticed this only for mouse scroll events as of now, not for mouse movement or mouse clicks. I tried setting the timeout to 1000ms to account for hardware jitters by running this command, but that doesn't change anything.

$ pkexec swhkd -C 1000 

aadilshabier avatar Feb 27 '24 05:02 aadilshabier

I'm unable to reproduce this issue on wayland. Archlinux 6.7.11-hardened swayfx 0.3.2

wev still registers only one mouse scroll for me.

InnocentZero avatar Apr 07 '24 11:04 InnocentZero

I'm unable to reproduce this issue on wayland. Archlinux 6.7.11-hardened swayfx 0.3.2

wev still registers only one mouse scroll for me.

Might be a mouse specific thing, because it's just a problem on this specific mouse(Logitech B330/M330/M331).

aadilshabier avatar Apr 11 '24 06:04 aadilshabier