[Bug 602809] Re: add Mouse Click Debounce Feature?
FWIW I have been plagued with this same issue for a long time now and the libinput_debounce_time.patch above* fixes the problem for me. Obviously hard coding these values is a bad idea -- will this ever get fixed properly? * I had to adjust it to get it to apply on my LM20 system (libinput-1.15.5), and I used 60 ms and 30 ms instead of 100/50. Many thanks to Yei Gei (yzgyzg) for posting. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
Here is a patch for libinput which worked for me. The debounce time is hard coded to 25 ms and 12 ms. The patch will increase it to 100 ms and 50 ms. I hope it will help. libinput_debounce_time.patch --- a/src/evdev-debounce.c 2020-06-19 10:00:40.778552300 +1000 +++ b/src/evdev-debounce.c 2020-07-27 02:02:52.343254576 +1000 @@ -124,7 +124,7 @@ debounce_set_timer(struct fallback_dispatch *fallback, uint64_t time) { - const int DEBOUNCE_TIMEOUT_BOUNCE = ms2us(25); + const int DEBOUNCE_TIMEOUT_BOUNCE = ms2us(100); libinput_timer_set(&fallback->debounce.timer, time + DEBOUNCE_TIMEOUT_BOUNCE); @@ -134,7 +134,7 @@ debounce_set_timer_short(struct fallback_dispatch *fallback, uint64_t time) { - const int DEBOUNCE_TIMEOUT_SPURIOUS = ms2us(12); + const int DEBOUNCE_TIMEOUT_SPURIOUS = ms2us(50); libinput_timer_set(&fallback->debounce.timer_short, time + DEBOUNCE_TIMEOUT_SPURIOUS); -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
This isn't just of value to people who happen to have a mouse that's a bit iffy, who get a bad impression of Ubuntu because the same mouse works fine on Windows (see bug #1). It's possibly also of benefit to those who have difficulty with muscle control, especially the elderly. Maybe this bug can get a raised profile if we play the accessibility card? But most likely what it takes is some capable volunteer to write the code to fix it and get a patch accepted. Few of the bugs I've marked as "me too" ever get fixed by Canonical. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xserver-xorg-input-libinput (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
** Changed in: xserver-xorg-input-libinput (Ubuntu) Importance: Undecided => Wishlist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
For your knowledge, they refused here to fix the issue which was opened 12 years ago: https://bugs.freedesktop.org/show_bug.cgi?id=11833 ** Bug watch added: freedesktop.org Bugzilla #11833 https://bugs.freedesktop.org/show_bug.cgi?id=11833 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
** Also affects: xserver-xorg-input-libinput (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
yves@paradox ~ $ dpkg -l | grep -i libinput ii libinput-bin 1.10.4-1ubuntu0.18.04.1 amd64input device management and event handling library - udev quirks ii libinput-tools 1.10.4-1ubuntu0.18.04.1 amd64input device management and event handling library - command line tools ii libinput10:amd64 1.10.4-1ubuntu0.18.04.1 amd64input device management and event handling library - shared library ii xserver-xorg-input-libinput0.27.1-1 amd64X.Org X server -- libinput input driver https://lists.freedesktop.org/archives/wayland-devel/2017-October/035469.html says: "Pointer devices now have button debouncing automagically enabled. Ghost button release/press events due to worn out or bad-quality switches are transparently discarded and the device should just work." Well, I'm terribly sorry to say that the automagic debouncing feature from libinput announced in the link above simply does not work at all... Even with the new libinput, fresh install, I get multiple clicks (only in Linux). It's been 9 years that this problem is on and not only unsolved but just getting worse since these days no new hardware works at all... Only very old mouse devices or this electronic solution currently work: https://askubuntu.com/questions/496131/set-mouse-debounce-time Could a user setting be at last added after 9 years of other solutions always failing? Thanks in advance. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
Is there any update on this, I use a MSI mouse and MSI keyboard. The issue is most notable on my mouse, but I have duplicate key press events on my keyboard as well. I'm sure allowing the debounce delay to be configurable will be a quick win here as JohnWashington suggested. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
** No longer affects: system76 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
Affects me with one mouse on Mint 18.3 (also verified on another pc with Ubuntu 16.04). See extensive discussion, including how to investigate with xev, detailed code fix for xserver-xorg-input-evdev, detailed hardware workarounds for mice with contact bounce: https://askubuntu.com/questions/321816/mouse-sometimes-doubleclicks-when-i-click-once I'm amazed the software debouncing still hasn't been incorporated. And debounce time etc ideally should be exposed to the user in the control panel, to allow adjustment? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
I agree this should be implemented, I have a new mouse and has the same issue and is not a cheap mouse. If there is a patch that works should be considered. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
I also started noticing this recently. I tried a different mouse and it had the same problem. I expected to have at least some way to tweak a low-level config file to increase the debounce interval, but apparently it isn't implemented to begin with. I reckon this isn't only annoying for people who didn't win the ‘perfect mouse’ lottery, but also for those with certain disabilities. If debounce is implemented for keyboards, then it only makes sense to implement it for any other input device with hardware buttons as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
I am also having this issue since a long time (2 years or more), and this is really annoying. I also think software debouncing should be proposed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
I'm still seeing this issue with a Logitech G700 with Linux Mint 17.3 (based on Ubuntu 14.04). I did not need Whitlock's patched evdev driver, but adding Comment #4's xorg.conf work-around seems to have alleviated this issue for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
** Changed in: xserver-xorg-input-evdev (Ubuntu) Importance: Undecided => Wishlist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
this is true got an RAT7 (Mad Catz) and right click sometime give 2 or 3 click events a lot of peoples(and I really mean A LOT) using expensive devices (mice) are deep into this problem fundamentally incredible is the fact that all guru's talk about bad hardware on the linux side, leaving the problem unsolved - on windows they all use the same trick for all devices (using autohotkey). spending many hours over the internet to find a linux easy solution, I found that the ultimate solution is to patch the evdev driver. how many peoples will rebuild evdev is my question ? - very few is my response - people use Ubuntu / Mint for ease of use - geeks use Arch < those guys know what to do but many Ubuntu users will leave the problem unsolved .. therefore please add this patch into evdev mainline. Thanks in advance ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602809] Re: add Mouse Click Debounce Feature?
** Also affects: xserver-xorg-input-evdev (Ubuntu) Importance: Undecided Status: New ** Changed in: xserver-xorg-input-evdev (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/602809 Title: add Mouse Click Debounce Feature? To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/602809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs