<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2014-09-16 20:08 GMT+02:00 Tobias Pape <span dir="ltr">&lt;<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
<br>
On 16.09.2014, at 19:19, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Nice catch indeed.<br>
<br>
Wasn&#39;t me, but some of our students.<br>
They also found the dormant mantis entry…<br>
I have no Idea why it works, to be honest.<br>
<span class=""><br>
&gt; But, ouch!<br>
&gt;     (self left @ self top) ~= self topLeft...<br>
&gt; Without looking at the code, it sounds like heresy!<br>
&gt; Wouldn&#39;t the real fix be to name a cat a cat? (a corner a corner in this case).<br>
<br>
</span>Yes, it would.<br>
<span class=""><br>
&gt;<br>
&gt; After a brief look at the code, of course things are not so simple.<br>
&gt; 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>
&gt; This fake insulate some users of top from the knowledge of this availableAreaForDisplay feature which sounds like a good thing...<br>
&gt; But in the same time, it fakes the innocent users of topLeft expecting top+left=topLeft.<br>
&gt; 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>
&gt;<br>
&gt; As why we do not apply such ingeniosity to left, it&#39;s above my current understanding.<br>
&gt;<br>
&gt;<br>
<br>
</span>I  found that that container (as per some Class comment) can be a TextContainer _or_ a Rectangle.<br>
And they apparently do different things on topLeft vs top @ left.<br>
I have no idea :)<br>
<br>
I had to convince myself again (I got the report 2month ago) that it indeed is the fix necessary…<br>
<br>
Lets call a cat a cat.<br>
Right after we fixed all the other stuff<br>
<span class=""><br>
&gt;<br>
&gt;<br>
&gt; 2014-09-16 17:29 GMT+02:00 Frank Shearar &lt;<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>&gt;:<br>
&gt; On 16 September 2014 16:16,  &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt; wrote:<br>
&gt; &gt; Tobias Pape uploaded a new version of Graphics to project The Trunk:<br>
&gt; &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; &gt;<br>
&gt; &gt; ==================== Summary ====================<br>
&gt; &gt;<br>
&gt; &gt; Name: Graphics-topa.301<br>
&gt; &gt; Author: topa<br>
&gt; &gt; Time: 16 September 2014, 5:16:44.215 pm<br>
&gt; &gt; UUID: a66aac86-031b-4db4-97ce-e33376745f9e<br>
&gt; &gt; Ancestors: Graphics-mt.300<br>
&gt; &gt;<br>
&gt; &gt; Fix Mantis 5711<br>
&gt; &gt;         <a href="http://bugs.squeak.org/view.php?id=5711" target="_blank">http://bugs.squeak.org/view.php?id=5711</a><br>
&gt; &gt; after 7 years...<br>
&gt; &gt;<br>
&gt; &gt; =============== Diff against Graphics-mt.300 ===============<br>
&gt;<br>
&gt; Don&#39;t forget to tell Mantis that :)<br>
<br>
</span>Can Frank or Nicolas do that please? I cannot.<br>
<br>
<br>
<br>
Best<br>
<span class="HOEnZb"><font color="#888888">        -Tobias<br>
</font></span><br></blockquote><div> </div><div>Done,<br>But who could grant you more priviledges?<br></div></div><br></div></div>