<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - double-click and drag to highlight sentences doesn't work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99402#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - double-click and drag to highlight sentences doesn't work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99402">bug 99402</a>
from <span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span></b>
<pre>there's a long explanation of evdev here:
<a href="http://who-t.blogspot.com.au/2016/09/understanding-evdev.html">http://who-t.blogspot.com.au/2016/09/understanding-evdev.html</a>
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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>