[squeak-dev] MorphicProject subclass: #EtoysProject

H. Hirzel hannes.hirzel at gmail.com
Mon Oct 9 18:18:43 UTC 2017

When I choose

After successful loading of I choose

 'World menu' -> 'previous project'

I get an error message.

PasteUpMorph>>#removeModalWindow has been deprecated. The global
becomeModal is no longer supported, use e.g. a dialog window

Reason for this is that in the Etoys project I have as actionMap

    Project current world actionMap printString

    'an IdentityDictionary(#aboutToLeaveWorld ->
                                    WeakMessageSend(#removeModalWindow ->
PasteUpMorph<world>(2880695) [world]

See detailed analysis in the thread  'PasteUpMorph>>#removeModalWindow
has been deprecated --- what do we need to do?'

So if I do
      Project current world actionMap removeKey: #aboutToLeaveWorld

in a workspace in the EtoysProject before choosing the menu entry
'previous project', I do not get the error message.

Result see screen shot. The question is now to find the proper place
for removing this actionMap entry


On 10/9/17, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> On 10/9/17, David T. Lewis <lewis at mail.msen.com> wrote:
>> On Mon, Oct 09, 2017 at 12:05:16AM +0200, H. Hirzel wrote:
>>> On 10/8/17, David T. Lewis <lewis at mail.msen.com> wrote:
>>> >
>>> > Is that initial project available as a *.pr file, or on a web site?
>>> You simply drop it in. E.g. download this project
>>> http://etoys.laptop.org/src/Content/ExampleEtoys/CarAndPen.014.pr
>>> Link given by Bert F.
>> Well d'oh! I did not realize it was the same project, sorry.
>> I did warn you I was an Etoys newbie ;-)
>> Thanks,
>> Dave
> There are more example projects here
> http://squeakland.org/tutorials/demos/
> With the changes discussed so far in this thread the following
> projects loads fine as well (screen shot)
> http://squeakland.org/content/articles/attach/FollowRoad.012.pr
> However if you start clicking for example on the 'turn by' parameter you
> get
> SmalltalkImage>>#associationAt:ifAbsent: has been deprecated. Use
> Smalltalk globals
> Select Proceed to continue, or close this window to cancel the operation.
> But these are easy fixes.....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Result_after_returning_from_a_dropped_EtoysProject_2017-10-09.png
Type: image/png
Size: 35194 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20171009/8475c9a3/attachment-0001.png>

More information about the Squeak-dev mailing list