<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 - wayland: focus issue with gnome-terminal"
href="https://bugzilla.gnome.org/show_bug.cgi?id=748892">bug 748892</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></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: focus issue with gnome-terminal"
href="https://bugzilla.gnome.org/show_bug.cgi?id=748892#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: focus issue with gnome-terminal"
href="https://bugzilla.gnome.org/show_bug.cgi?id=748892">bug 748892</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>(In reply to Olivier Fourdan from <a href="show_bug.cgi?id=748892#c10">comment #10</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=305460&action=diff" name="attach_305460" title="Proposed fix">attachment 305460</a> <a href="attachment.cgi?id=305460&action=edit" title="Proposed fix">[details]</a></span> <a href='review?bug=748892&attachment=305460'>[review]</a> [review]
> Proposed fix
>
> Do not rewrite events for Wayland</span >
Thanks so much for the investigation Olivier! I however think this patch is
targetting the symptom, and not the real bug... gdk_device_grab_info() seems to
be returning stale info from a previous grab (implicit or active). To me it
seems the bug is somewhere in GtkMenu or the GDK wayland backend that doesn't
trigger the removal of that grab.
I've set a breakpoint in _gdk_display_end_device_grab(), and it seemed to
confirm my suspicions, as soon as you click on a menu, I would expect that
function called with implicit=true, in order to break the implicit grab, it
however isn't.
This rather looks to me like something the wayland gdk backend should be
triggering upon showing an xdg_popup.</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>