Problems in Squeak 3.9
peace_the_dreamer at yahoo.com
Thu Jan 31 07:20:10 UTC 2008
Problems in Squeak 3.9
Welcome to squeak.
>squeak-dev.5.pris at spamgourmet.com
squeak-dev.5.pris at spamgourmet.com
>Wed Jan 30 05:27:49 UTC 2008
>latest update #7068
>I'm running this on Ubuntu Linux.
>1) First a problem with the Squeak GUI.
>This happens if you pressed caps-lock without
noticing. To replicate
>the problem, open a browser and make a change in the
>press Caps-lock. Then try to close the browser window
and you can't!
>When this happened to me I wasn't aware of the
caps-lock and ended up
>shutting down Squeak the hard way. Try it out to see
what I mean.
This annoyance is probably worthy of a bug report.*
>2) A bug with SketchMorph
>I was following the tutorial, which uses SketchMorph:
>Unfortunately I wasn't aware that this class is not
>properly(more on that at 3). I finally switched to
ImageMorph and got
>the problem fixed.
>When I read the documentation of ImageMorph I found
>Relationship to SketchMorph: ImageMorph should be
>SketchMorph, a parallel, legacy class -- see the
Swiki FAQ for details
>( http://minnow.cc.gatech.edu/squeak/1372 ).
>It would be sensible to put a corresponding notice in
>otherwise you won't have a clue about this, and btw
>tutorial to use ImageMorph also. Btw this took me
over 10 hours to
>debug, because I first thought this was some problem
Yes the transparent pixel feature is frustrating.
>3) Bug with SketchMorph.
>The problem is in this message:
> ^ (self bounds containsPoint: aPoint) and:
> [(self rotatedForm isTransparentAt: aPoint -
bounds origin) not]
>Even if the point is in SketchMorph the following
>true: (self rotatedForm isTransparentAt: aPoint -
>and so the MouseClick isn't detected.
Another good bug report, I think.
Hmm. If the point you are clicking over is not
transparent and therefore the mouse should see it.
Is the rotated form different than the original form?
or the same?
With rotation transformers in the middle of things
there is lots of room for confusion.
>This message is sent from the MorphicEventDispatcher
to check the mouse click:
>aMorph containsPoint: anEvent cursorPoint event:
>4) Bug with Morph class. The message
wantsHaloFromClick always answers
>true. It should be possible to turn this off, I don't
want halos from
I think this is a preference issue.
Preferences disable: #wantsHaloFromClick (or whatever
the name of the preference really is)
should do the trick.
>5) Question: In the GUI editor how do I change
instance messages into
>class messages? The only way I know is copying by
hand then deleting
>the old one.
Fastest way I know is the cut and paste. Though if you
are thinking to move them you probably need to think
most class mesages of this nature get implemented:
^self new makeMyDay
where the second makeMyDay is implemented on the
classes are generally for creating instances.
>6) What would be the best way to accomplish the
following: I have a
>morph and in it I want to have a canvas where I can
>rectangles and also write text in various positions.
How do I best
>embed a Canvas into a Morph?
In 3.9 I implemented a snapshot feature (connected to
the halos as Shift click on the blue viewer halo.)
So I would assemble a morph with the pieces I want
embedding them into the morph and moving them around
with the brown halo and then take a snapshot to get an
imagemorph like thumbnail.
This is not exactly what you asked to do but it is the
easy way to get close to the same results.
* FAQ: Is this a known issue ? Where is the place to
report bugs (or check if
some have already been raised) ?
The best place for this info would be to start a
Mantis report. (You can get a mantis acct freely and
A good place to start is:
Mantis provides a patient persistent way to focus on
I use it to accumulate data on a problem until a
solution can be found.
It provides a place to alert the community to a
-accumulate facts and clues from the analysis;
-publish preposed solutions and get feedback;
-get solutions harvested and included into the main
This FAQ is available at the Squeak wiki site.
Mantis FAQ and Tips
Never miss a thing. Make Yahoo your home page.
More information about the Squeak-dev