<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Right-click generated by tap-and-hold"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91818">91818</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Right-click generated by tap-and-hold
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>ASSIGNED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>libinput
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>peter.hutterer@who-t.net
</td>
</tr></table>
<p>
<div>
<pre>From <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1256045">https://bugzilla.redhat.com/show_bug.cgi?id=1256045</a>
Finger order:
first finger down
second finger down
first finger up
second finger held down
This generates a right-click tap event. In the original bug report the main
issue is that this interferes with scroll events. Even without that, a tap with
a finger held down should generate a left-click event, not a right click event.
Possible solution is adding another timeout state to the current transition
from TAP_2 so that the right button event is only generated when the second
finger is also released within the timeout. Otherwise, we can move to the
multitap states or swallow the button event altogether.
Notably, this also requires us to keep track of which finger was released,
since putting first finger down, tapping with the second finger and then
keeping the first finger down is a definitive tap.</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>