[Wayland-bugs] [Bug 103636] Debouncing causes "sticky" buttons
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 9 05:57:30 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103636
Peter Hutterer <peter.hutterer at who-t.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #2 from Peter Hutterer <peter.hutterer at who-t.net> ---
E: 4.135016 0004 0004 589825 # EV_MSC / MSC_SCAN 589825
E: 4.135016 0001 0110 0000 # EV_KEY / BTN_LEFT 0
E: 4.135016 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +9ms
E: 4.136733 0004 0004 589825 # EV_MSC / MSC_SCAN 589825
E: 4.136733 0001 0110 0001 # EV_KEY / BTN_LEFT 1
E: 4.136733 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +1ms
This is your problem. A button left press comes 1ms after the previous button
release, libinput assumes that this is a bouncing button with a flaky contact
and enables button debouncing. From then on, button events are debounced, so
anything within the 12ms debounce timeout will be filtered. See
https://wayland.freedesktop.org/libinput/doc/latest/button_debouncing.html
When you run libinput debug-events you should see a "Enabling button
debouncing" message when this happens. I question your ability to really
release and click within 1ms though :) I think we need some special timeout to
paper over multiple button releases, afaict this only happens when multiple
buttons change state.
There's another patch on the list atm that will have to be merged first before
we can fix this issue here though
https://lists.freedesktop.org/archives/wayland-devel/2017-November/035666.html
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20171109/1324e5e4/attachment.html>
More information about the wayland-bugs
mailing list