<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=carlosg%40gnome.org" title="Carlos Garnacho <carlosg@gnome.org>"> <span class="fn">Carlos Garnacho</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Two finger tap on title bars non-functional on GTK3 apps and wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=764519">bug 764519</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>carlosg@gnome.org
</td>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>Backend: Wayland
</td>
<td>wayland
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>gtk-bugs@gtk.org
</td>
<td>mutter-maint@gnome.bugs
</td>
</tr>
<tr>
<td style="text-align:right;">Product</td>
<td>gtk+
</td>
<td>mutter
</td>
</tr>
<tr>
<td style="text-align:right;">QA Contact</td>
<td>gtk-bugs@gtk.org
</td>
<td>mutter-maint@gnome.bugs
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Two finger tap on title bars non-functional on GTK3 apps and wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=764519#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Two finger tap on title bars non-functional on GTK3 apps and wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=764519">bug 764519</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=carlosg%40gnome.org" title="Carlos Garnacho <carlosg@gnome.org>"> <span class="fn">Carlos Garnacho</span></a>
</span></b>
<pre>I can reproduce with touchpad. AFAICS this was originally introduced by the
patch in <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Applications using header bars cannot be moved in Wayland session"
href="show_bug.cgi?id=731237#c11">https://bugzilla.gnome.org/show_bug.cgi?id=731237#c11</a> .
What happens here is that libinput will transform the 2 finger tap in two
consecutive press+release events. Those are handled almost at once in
clutter/mutter, so when the client has the opportunity to request
xdg_surface.show_window_menu, the button count will again/already be 0, so the
request is ignored.
The check for buttons being pressed makes sense for drags/resizes, not as much
for this "show menu" case, probably should be taken out of
meta_wayland_pointer_can_grab_surface() checks and into the interested callers.
Moving to mutter.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>