<div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">> This comment in ui.py explains why</div>
> #we move offscreen to resize or else we get flashes on screen,<br>
> and setting hide() doesn't allow resize & moves<br>
<br>
OK.<br>
So this patch introduces some "flashing" ?<br>
<br></blockquote><div><br></div><div>[It looks like my recent post regarding this matter was not slipped into this thread nicely (at least on the archives).] </div><div>Here is some explanation / archaeology about the "flashing" and the reason for moving widgets offscreen instead of hide / show:</div>
<div><a href="http://lists.sugarlabs.org/archive/sugar-devel/2010-June/024525.html">http://lists.sugarlabs.org/archive/sugar-devel/2010-June/024525.html</a></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
>> Also, if you are hiding widgets, I don't see any reason to resize them to 1x1.<br>
><br>
> For some widgets, when I attempt to hide them, the UI doesn't work, so<br>
> I have to resize them to 1x1.<br>
> (I only resize only those widgets which I can't hide, so there is no redundancy)<br>
<br>
The resizing 1x1 thing is ugly, I'd rather we understood this issue<br>
and came up with something nicer.<br></blockquote><div><br></div><div>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? </div>
<div>Possible explanation: perhaps when you hide/show there is a transparent widget layered above the button widgets, so "the UI doesn't work".</div><div>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 :-)</div>
</div>