<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 - [Wayland] Drop-down menus are broken in position and size on HiDPI screens"
href="https://bugzilla.gnome.org/show_bug.cgi?id=771841">bug 771841</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 #336140 is obsolete</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] Drop-down menus are broken in position and size on HiDPI screens"
href="https://bugzilla.gnome.org/show_bug.cgi?id=771841#c33">Comment # 33</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] Drop-down menus are broken in position and size on HiDPI screens"
href="https://bugzilla.gnome.org/show_bug.cgi?id=771841">bug 771841</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=337556&action=diff" name="attach_337556" title="wayland/xdg-shell: Scale positioner coordinates">attachment 337556</a> <a href="attachment.cgi?id=337556&action=edit" title="wayland/xdg-shell: Scale positioner coordinates">[details]</a></span> <a href='review?bug=771841&attachment=337556'>[review]</a>
wayland/xdg-shell: Scale positioner coordinates
When the monitor is scaled (i.e. HiDPI scaling) the placement coordinates
ere still in unscaled xdg_surface window geometry coordinate space when
used to place the window. Fix this by scaling the coordinates by the
monitor scale of the parent toplevel window before using them.
-----
Rewrote the first patch to scale the coordinates as a more sane place. Also
added a comment documenting the coordinate space of the stored placement rule
fields.</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>