[Wayland-bugs] [Bug 99402] double-click and drag to highlight sentences doesn't work
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jan 22 21:30:25 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=99402
--- Comment #13 from Peter Hutterer <peter.hutterer at who-t.net> ---
there's a long explanation of evdev here:
http://who-t.blogspot.com.au/2016/09/understanding-evdev.html
but for this bug the summary is: BTN_LEFT is your physical button, values 1/0
are press/release. ABS_MT_TRACKING_ID is a sequential number identifying a
touchpoint, so a value N means "new touch starting with sequence N", a value -1
means "touch ending". The BTN_TOOL_FINGER bit has effectively the same meaning.
In your case, you can see that every time the button is pressed, you get a new
touchpoint starting. When you release the button, you get the touch released.
That would be normal behaviour on a clickpad but not on a touchpad with
separate physical buttons.
I can't verify the coordinates because you filtered them, but in the recording
above they were 0/0, effectively an invalid touch. Notably though, this doesn't
happen every time, the down/leave/click sequence didn't have this issue. If the
5 clicks here were just a normal click without any finger down, then it appears
to only happen whenever *no* finger is down on the touchpad.
If so, that's something we can hook onto. Can you verify please that:
* if you have a finger down on the touchpad and you click, you only get the
BTN_LEFT events but no ABS_MT_TRACKING_ID or BTN_TOOL_FINGER
* if you have no fingers down, you always get the tracking id/finger events on
button press release
And finally: what's the event sequence when you press a button and hold it
down, then put a finger on the touchpad and release the button, then release
the finger.
(please don't gzip the attachment it requires 5 more clicks to view)
--
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/20170122/650a2bc0/attachment.html>
More information about the wayland-bugs
mailing list