[squeak-dev] [Test] BackToTheFuture.morph saved from Squeak 2.5 dropped onto a desktop of a Squeak6.0a image

H. Hirzel hannes.hirzel at gmail.com
Thu Mar 30 11:23:43 UTC 2017


Hello

This is a follow up post on the thread
    http://forum.world.st/Dropping-a-morph-gives-me-a-funny-menu-td4939787.html

You need to do
    FileServices   unregisterFileReader: CornerGripMorph

to get only one 'Load as morph' button when you drop a *.morph file
onto a desktop.

You then may verify this with the following test:

The attached morph BackToTheFuture.morph was exported from a Squeak
2.5 image (Aug 1999, see attachment and [1])  and then dropped into a
recent Squeak6.0a image (attachment).

Besides a font problem which mostly causes trouble on page 3 it works well!

Regards

--Hannes


[1] The export in the Squeak 2.5 image was done as follows

1. Bring up the 'World' menu in the 'Play with me - 4' window.
2. Choose 'debug'
3. Choose 'explore world'
4. Click on the 'BookMorph' in the 'submorphs' collection
5. Choose 'Inspect'
6. Evaluate
       self saveOnFile

Morph saveOnFile uses a SmartRefStream
http://wiki.squeak.org/squeak/614


P.S.

      FileServices   unregisterFileReader: CornerGripMorph

has not been commited to trunk yet. Probably good to do a comment on
FileServices as the same time

Current comment:

A FileServices is xxxxxxxxx.

Instance Variables
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BackToTheFuture.morph
Type: application/octet-stream
Size: 15162 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170330/9c3509d0/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Back_to_the_Future_Squeak2.5_aMorph_saveOnFile_Screenshot.png
Type: image/png
Size: 44712 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170330/9c3509d0/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BackToTheFuture.morph_from_Squeak2.5_dropped_into_Sq6.0a_image_2017-03-30.png
Type: image/png
Size: 168012 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170330/9c3509d0/attachment-0003.png>


More information about the Squeak-dev mailing list