[Sugar-devel] [PATCH] Fixes to the record UI

Erik Blankinship erikb at mediamods.com
Wed Jun 9 07:53:30 EDT 2010


El Wed, 09-06-2010 a las 11:39 +1000, James Cameron escribió:
>* > There was probably a reason why it moved them off screen instead of*>* > hiding them.  Do you have any idea what it is?*>* *>* b480c7ed2e4848f33f11f9df27f6cb34e7c76b82 was a move of elements*>* offscreen instead of hiding, committed 2007-08-31 by erikb, there's no*>* explanation given, and the SVN repository does not appear to be*>* available any longer.*

*
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:
http://lists.laptop.org/pipermail/sugar/2007-August/003239.html

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.

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):
https://dev.laptop.org/ticket/3377
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100609/04dcadd9/attachment.htm 


More information about the Sugar-devel mailing list