<div dir="ltr"><div><div><div><div>Nice catch indeed.<br>But, ouch! <br></div>    (self left @ self top) ~= self topLeft...<br></div>Without looking at the code, it sounds like heresy!<br>Wouldn&#39;t the real fix be to name a cat a cat? (a corner a corner in this case).<br><br></div><div>After a brief look at the code, of course things are not so simple.<br>I&#39;m not sure I completely understand the contracts, but inside the owner rectangular area, there are only some portions available for displaying text, and top answers the topMostAvailableDisplayArea...<br>This fake insulate some users of top from the knowledge of this availableAreaForDisplay feature which sounds like a good thing...<br>But in the same time, it fakes the innocent users of topLeft expecting top+left=topLeft.<br></div><div>No matter the di initials (sorry to scratch an icon), but IMO it&#39;s a well too sophisticated hack, and such hacks inevitably leads to such bugs.<br><br></div><div>As why we do not apply such ingeniosity to left, it&#39;s above my current understanding.<br></div><br><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-16 17:29 GMT+02:00 Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 16 September 2014 16:16,  &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt; wrote:<br>
&gt; Tobias Pape uploaded a new version of Graphics to project The Trunk:<br>
&gt; <a href="http://source.squeak.org/trunk/Graphics-topa.301.mcz" target="_blank">http://source.squeak.org/trunk/Graphics-topa.301.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: Graphics-topa.301<br>
&gt; Author: topa<br>
&gt; Time: 16 September 2014, 5:16:44.215 pm<br>
&gt; UUID: a66aac86-031b-4db4-97ce-e33376745f9e<br>
&gt; Ancestors: Graphics-mt.300<br>
&gt;<br>
&gt; Fix Mantis 5711<br>
&gt;         <a href="http://bugs.squeak.org/view.php?id=5711" target="_blank">http://bugs.squeak.org/view.php?id=5711</a><br>
&gt; after 7 years...<br>
&gt;<br>
&gt; =============== Diff against Graphics-mt.300 ===============<br>
<br>
</span>Don&#39;t forget to tell Mantis that :)<br>
<span class="HOEnZb"><font color="#888888"><br>
frank<br>
<br>
</font></span></blockquote></div><br></div>