<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><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> changed
<a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - 2 finger scroll is causing right click at the end"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103017">bug 103017</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>peter.hutterer@who-t.net
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>NEEDINFO
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - 2 finger scroll is causing right click at the end"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103017#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - 2 finger scroll is causing right click at the end"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103017">bug 103017</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>The problematic sequence seems to be here. It follows a long 2-finger scroll
sequence with two fingers on the touchpad and ends like this:
E: 5.191392 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0
E: 5.191392 0003 0039 -001 # EV_ABS / ABS_MT_TRACKING_ID -1
E: 5.191392 0003 002f 0001 # EV_ABS / ABS_MT_SLOT 1
E: 5.191392 0003 0035 0839 # EV_ABS / ABS_MT_POSITION_X 839
E: 5.191392 0003 0036 0297 # EV_ABS / ABS_MT_POSITION_Y 297
E: 5.191392 0003 003a 0049 # EV_ABS / ABS_MT_PRESSURE 49
E: 5.191392 0001 0145 0001 # EV_KEY / BTN_TOOL_FINGER 1
E: 5.191392 0001 014d 0000 # EV_KEY / BTN_TOOL_DOUBLETAP 0
E: 5.191392 0003 0000 0839 # EV_ABS / ABS_X 839
E: 5.191392 0003 0001 0297 # EV_ABS / ABS_Y 297
E: 5.191392 0003 0018 0049 # EV_ABS / ABS_PRESSURE 49
E: 5.191392 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +10ms
E: 5.200812 0003 0039 -001 # EV_ABS / ABS_MT_TRACKING_ID -1
E: 5.200812 0003 002f 0000 # EV_ABS / ABS_MT_SLOT 0
E: 5.200812 0003 0039 1002 # EV_ABS / ABS_MT_TRACKING_ID 1002
E: 5.200812 0003 0035 0834 # EV_ABS / ABS_MT_POSITION_X 834
E: 5.200812 0003 0036 0292 # EV_ABS / ABS_MT_POSITION_Y 292
E: 5.200812 0003 003a 0049 # EV_ABS / ABS_MT_PRESSURE 49
E: 5.200812 0003 0031 0000 # EV_ABS / ABS_MT_TOUCH_MINOR 0
E: 5.200812 0003 0000 0834 # EV_ABS / ABS_X 834
E: 5.200812 0003 0001 0292 # EV_ABS / ABS_Y 292
E: 5.200812 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +9ms
E: 5.210479 0003 0039 -001 # EV_ABS / ABS_MT_TRACKING_ID -1
E: 5.210479 0001 014a 0000 # EV_KEY / BTN_TOUCH 0
E: 5.210479 0001 0145 0000 # EV_KEY / BTN_TOOL_FINGER 0
E: 5.210479 0003 0018 0000 # EV_ABS / ABS_PRESSURE 0
the 5.191392 event is 'first finger up, second finger move'
the 5.200812 event is 'second finger up, first finger down again'
the 5.210479 event is 'first finger up'
So what libinput sees is a two-finger scroll followed by a single-finger
tap. Whether that's justified as a right click instead of a left click is a
bit ambiguous to decide but a tap is definitely there. Not sure how to fix
this without messing around with timeouts after scrolling, etc.
To clarify: are you tapping at all here? or just lifting the fingers?</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>