[squeak-dev] Graphical oddities across image save (squeak 5.1)

Bob Arning arning315 at comcast.net
Sat Oct 7 02:59:57 UTC 2017


Here is a strange one. I noticed a few morphs changing appearance after 
saving the image. It seems to be related to the hibernation of Forms 
which happens prior to saving the image. This snippet

(m := SimpleButtonMorph new)
     label: 'Black on yellow';
     color: Color yellow.
Form allInstancesDo: [ :f | f hibernate].    "this happens when saving 
image"
m imageForm asMorph openInWorld

has a white background for the text with a bit of yellow surrounding it. 
Running it in a clean 5.1 image gets the expected result: black text on 
a yellow background. However, if I load the preferences from my current 
image into the clean image, then the problem occurs: black on white on 
yellow. My prefs are attached if you would like to take a stab at it 
(and if it isn't too large an attachment).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20171006/daa6e87f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my.prefs.zip
Type: application/zip
Size: 103561 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20171006/daa6e87f/attachment-0001.zip>


More information about the Squeak-dev mailing list