<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [wayland] gedit killed by protocol error "Invalid anchor rectangle size""
href="https://bugzilla.gnome.org/show_bug.cgi?id=777176#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [wayland] gedit killed by protocol error "Invalid anchor rectangle size""
href="https://bugzilla.gnome.org/show_bug.cgi?id=777176">bug 777176</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>(In reply to Jonas Ã…dahl from <a href="show_bug.cgi?id=777176#c6">comment #6</a>)
<span class="quote">> The problem with that is that it'd be offset by 2 pixels if it flipped. Then
> again, if this is supposed to open at the "|" cursor (maybe it should still
> be a non-empty anchor that it should flip around, i.e. the width of the "|"
> cursor thing.</span >
The flip case is not so obvious to spot to be honest, and much less likely to
occur (this is a problem that occurs only when the pango layout is empty, which
is not so common, and when the menu needs flipping, which is even less common).
I reckon that <span class=""><a href="attachment.cgi?id=343414&action=diff" name="attach_343414" title="[PATCH v2] wayland: avoid 0 width/height anchor rectangle">attachment 343414</a> <a href="attachment.cgi?id=343414&action=edit" title="[PATCH v2] wayland: avoid 0 width/height anchor rectangle">[details]</a></span> <a href='review?bug=777176&attachment=343414'>[review]</a> is better for the most general, common case.
And tbh, I can't spot a wrong offset even when flipped using the zoom :)</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>