#5936 NORM Never A: Race when switching zoom level while frame is being hidden
Zarro Boogs per Child
bugtracker at laptop.org
Wed Jan 9 16:49:30 EST 2008
#5936: Race when switching zoom level while frame is being hidden
---------------------+------------------------------------------------------
Reporter: dsd | Owner: marco
Type: defect | Status: new
Priority: normal | Milestone: Never Assigned
Component: sugar | Version:
Keywords: review? | Verified: 0
Blocking: | Blockedby:
---------------------+------------------------------------------------------
If you start Sugar, press F2, wait a bit, press F3, then you end up at the
home screen with the frame showing.
If you then press F2, and immediately then press F3 while the frame is
still fading away, you are returned back to the home screen but the frame
is not being shown.
This is because when returning to the home screen, frame.show() thinks the
frame is already visible (this is true -- it is partially visible) and
therefore it has nothing to do.
Following on from #5911 and #5750, here is a patch which avoids this race
by detecting the fact that the frame is currently being hidden, so
frame.show() does have to run.
--
Ticket URL: <http://dev.laptop.org/ticket/5936>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list