<span style="font-family:'Times New Roman';font-size:medium"><pre>El Wed, 09-06-2010 a las 11:39 +1000, James Cameron escribió:
><i> > There was probably a reason why it moved them off screen instead of
</i>><i> > hiding them. Do you have any idea what it is?
</i>><i>
</i>><i> b480c7ed2e4848f33f11f9df27f6cb34e7c76b82 was a move of elements
</i>><i> offscreen instead of hiding, committed 2007-08-31 by erikb, there's no
</i>><i> explanation given, and the SVN repository does not appear to be
</i>><i> available any longer.
</i></pre><pre><i><span class="Apple-style-span" style="font-family: arial, sans-serif; font-style: normal; white-space: normal; border-collapse: collapse; font-size: 13px; "><div><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>
The reason for moving the elements offscreen was because a problem with z-order was preventing us from guaranteeing the video windows would be on top and in the correct order when we called hide and then show. Calling hide and show resulted in a visual flash/glitch and then nothing since the video was occluded by another window. A thread about this problem, and how it effected other developers at the time, is here:</div>
<div class="im" style="color: rgb(80, 0, 80); "><div><span style="color: rgb(80, 0, 80); "><a href="http://lists.laptop.org/pipermail/sugar/2007-August/003239.html" target="_blank" style="color: rgb(42, 93, 176); ">http://lists.laptop.org/pipermail/sugar/2007-August/003239.html</a></span></div>
</div></span></div><div><br></div><div>To work around this bug, we set up the z-order once (correctly) and then just slid the windows offscreen when they needed to be hidden. When they were moved back into the visible part of the screen they kept their initial and correct Z-order. This is why we did not hide and show windows.</div>
<div><br></div><div><div>P.S. Many OLPC changelogs for activities at that time were in trac. Here is the entry for the first release of record with this change (two weeks after the SVN commit):</div><div class="im" style="color: rgb(80, 0, 80); ">
<div><a href="https://dev.laptop.org/ticket/3377" target="_blank" style="color: rgb(42, 93, 176); ">https://dev.laptop.org/ticket/3377</a></div></div></div></span></i></pre></span>