[etoys-notify] [JIRA] Updated: (SQ-288) make-sibling of object with ticking script which calls 'look like' generates error

tracker at squeakland.org tracker at squeakland.org
Mon Aug 31 22:06:59 EDT 2009


     [ http://tracker.immuexa.com/browse/SQ-288?page=all ]

Scott Wallace updated SQ-288:
-----------------------------

    Attachment: lookLikeBug-sw.2.cs.gz

Version 2 uploaded:
(a) Restricts the 'look like' tile to be available only in the viewers of Sketches; this makes it still compatible with the "powerful ideas" book, and with other support materials, while not tempting users to deploy it with non-sketch receivers.
(b) 'look like' execution now consists of assigning a new graphic, rather than touching the buggy and dangerous morph-substitution code of old.  This avoids the pernicious bug that is the subject of this ticket.

> make-sibling of object with ticking script which calls 'look like' generates error
> ----------------------------------------------------------------------------------
>
>          Key: SQ-288
>          URL: http://tracker.immuexa.com/browse/SQ-288
>      Project: squeakland
>         Type: Bug
>   Components: etoys
>     Reporter: Scott Wallace
>      Fix For: etoys 4.0 - summer 2009
>  Attachments: lookLikeBug-sw.1.cs.gz, lookLikeBug-sw.2.cs.gz
>
>
> The use of the "look like" tile is problematical in situations where it is invoked by a ticking script of an object undergoing the creation of sibling(s) or copies etc.
> "Look like" is an ancient tile, dating from the beginning of etoys, no longer the preferred mechanism for animation.  But it is used in the "powerful ideas" book, so we've kept it around, with its own unique and intractably buggy code path, for backward compatibility.
> The preferred mechanism is now to assign to the "graphic" slot of the sketch whose costume is being changed, for example, for animation.
> The suggested fix for "look like" is to make it now directly call the graphic-setting code.
> The attached fileout implements the suggested fix.
> It would be excellent to get feedback assuring us that this change retains the expected behavior of projects that use "look like"...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://tracker.immuexa.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the etoys-notify mailing list