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

Erik Blankinship erikb at mediamods.com
Wed Jun 9 11:13:07 EDT 2010


> > This comment in ui.py explains why
> >       #we move offscreen to resize or else we get flashes on screen,
> > and setting hide() doesn't allow resize & moves
>
> OK.
> So this patch introduces some "flashing" ?
>
>
[It looks like my recent post regarding this matter was not slipped into
this thread nicely (at least on the archives).]
Here is some explanation / archaeology about the "flashing" and the reason
for moving widgets offscreen instead of hide / show:
http://lists.sugarlabs.org/archive/sugar-devel/2010-June/024525.html


> >> Also, if you are hiding widgets, I don't see any reason to resize them
> to 1x1.
> >
> > For some widgets, when I attempt to hide them, the UI doesn't work, so
> > I have to resize them to 1x1.
> > (I only resize only those widgets which I can't hide, so there is no
> redundancy)
>
> The resizing 1x1 thing is ugly, I'd rather we understood this issue
> and came up with something nicer.
>

Maybe the reason 1x1 resizing works as an alternative hide/show method is
related to the reason moving things offscreen worked -- z-order is
preserved?
Possible explanation: perhaps when you hide/show there is a transparent
widget layered above the button widgets, so "the UI doesn't work".
Then again, maybe this issue and the 1x1 workaround is something completely
unrelated to problems from years ago.  Or maybe I tried 1x1 years ago too
:-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100609/0357d654/attachment.htm 


More information about the Sugar-devel mailing list