<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - regression in menu positioning on wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=769402">bug 769402</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;">Attachment #332693 is obsolete</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - regression in menu positioning on wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=769402#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - regression in menu positioning on wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=769402">bug 769402</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=332910&action=diff" name="attach_332910" title="gdkwindow: Use toplevel for getting root cords in move_to_rect()">attachment 332910</a> <a href="attachment.cgi?id=332910&action=edit" title="gdkwindow: Use toplevel for getting root cords in move_to_rect()">[details]</a></span> <a href='review?bug=769402&attachment=332910'>[review]</a>
gdkwindow: Use toplevel for getting root cords in move_to_rect()
The Wayland backend manages a set of fake root coordinate spaces, where
each non-relative positioned toplevel (i.e. not popups, popovers,
tooltips etc) make up the basis of separate fake root coordinate spaces.
This means that the Wayland backend doesn't have the abilitiy get a
proper root coordinate when querying on a non-toplevel GdkWindow. To
avoid this issue, first find the toplevel, while translating the anchor
rect coordinates so that they are in the toplevel window coordinate
space. Then use this toplevel to translate the coordinates to root
window coordinate space.</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>