Summary: | Clickpad button presses registered wrongly | ||
---|---|---|---|
Product: | Wayland | Reporter: | Tom Hughes <tom> |
Component: | libinput | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | peter.hutterer |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
evemu log
event log |
Description
Tom Hughes
2017-02-27 00:18:02 UTC
run evemu-record in the background please (against the touchpad device) and libinput-debug-events at the same time. reproduce the bug, then attach the evemu output here. Should make it possible to replay the lot here. Created attachment 129958 [details]
evemu log
Here's the evemu log...
Created attachment 129959 [details]
event log
Here's the event log - started shortly after the evemu log and stopped just before it.
As you can see there are three clicks - a left click in one window then I moved to another window and middle clicked which registered as left then I lifted off and clicked again and it registered as middle.
Found it, patch available on the list: https://lists.freedesktop.org/archives/wayland-devel/2017-March/033258.html FTR, the triggering sequence is around E: 4.227286 0003 0035 1828 # EV_ABS / ABS_MT_POSITION_X 1828 The pressure goes below the threshold, switching the touch to end, then hover/ The actual end event is papered over this way (as seen and by the button state machine), the button state triggers on the current position (1828/803) which is in AREA. When the new touch comes down in 1756/1769 we're already in state AREA and don't update, hence the left button click despite these coordinates being in the middle button area. I can confirm that patch seems to fix the problem for me. Thanks. commit c0dbd6eb38c000ebe10c25d07152bb6154bcc73e Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Mar 1 11:26:06 2017 +1000 touchpad: ignore hovering touches for the software button state |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.