[Etoys] Screen damage issues when dropping tiles in ScriptEditor
karl.ramberg at chello.se
Sun Nov 5 16:17:30 EST 2006
> Yoshiki Ohshima skrev:
>>> When I turn on preference showDebugDamage there are some
>>> issues when dropping tiles in the ScriptEditor. A rectangle in the
>>> top left corner flashes, and a large part of the screen is redrawn when
>>> the tile is dropped, from top left of screen to bottom right of
>>> I guess this will slow the tile scripting responsiveness.
>>> Also the Viewer flap tabs are redrawn quite often, not flap tabs for
>>> SketchMorphs, but for other morphs.
>> Thanks Karl for reporting! We did use showDebugDamage when damage
>> rectangle merging was too eagar^^; But after that we didn't look at
>> other places with the option turn on yet.
> I did some bug hunting on the ScriptEditorMorph redraw bug and it is
> really hard to track down, at least for me :-)
> It seems the bug is related to a bug in Squeak3.9 when SystemBrowsers
> causes extensive redrawing when the comment pane pops up and hides. I
> have looked at Morph>>privateAddMorph:atIndex: and a few layout
> related methods but have not found the cause yet.
I think I fixed it. Seems like the morph being dropped needed a specific
position to be dropped otherwise it would be added to the top left
corner of the screen causing lots of screen damage.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1444 bytes
Desc: not available
Url : http://lists.squeakland.org/pipermail/etoys-dev/attachments/20061105/72af06af/ScriptEditorMorph.flfl.1.cs.gz
More information about the etoys-dev