<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - gtk_window_move() unreliable in Wayland?"
href="https://bugzilla.gnome.org/show_bug.cgi?id=757558">bug 757558</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>ofourdan@redhat.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - gtk_window_move() unreliable in Wayland?"
href="https://bugzilla.gnome.org/show_bug.cgi?id=757558#c18">Comment # 18</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - gtk_window_move() unreliable in Wayland?"
href="https://bugzilla.gnome.org/show_bug.cgi?id=757558">bug 757558</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
<pre>See also <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - wayland: use a subsurface for GDK_WINDOW_TEMP if attached to a toplevel"
href="show_bug.cgi?id=759738">bug 759738</a>
Now (in gtk+ 3.20) the gdk backend will use a subsurface for popup windows when
possible, ie when a parent is specified, so we don't require a grab anymore.
But I reckon the given reproducer is broken:
1. it creates a e_emoticon_tool_button_new ();
2. The corresponding e_emoticon_tool_button_init() tries to get the toplevel
window from gtk_widget_get_toplevel (GTK_WIDGET (button));
3. But because the button si not yet added to the window,
gtk_widget_get_toplevel() will necessarily return the buttn itself, therefore
GTK_IS_WINDOW (toplevel) is always wrong and gtk_window_set_transient_for(0 is
never called.
Too bad, because it it was, I think it would work as-is with gtk+ 3.20.</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>