Problems in Squeak 3.9

squeak-dev.5.pris at spamgourmet.com squeak-dev.5.pris at spamgourmet.com
Thu Jan 31 15:45:54 UTC 2008


On Jan 31, 2008 5:20 AM, Jerome Peace - peace_the_dreamer at yahoo.com

> Hi Roland,
>
> Welcome to squeak.

Thanks!


> >3) Bug with SketchMorph.
> >
> >The problem is in this message:
> >
> >containsPoint: aPoint
> >       ^ (self bounds containsPoint: aPoint) and:
> >         [(self rotatedForm isTransparentAt: aPoint -
> bounds origin) not]
> >
> >Even if the point is in SketchMorph the following
> expression returns
> >true: (self rotatedForm isTransparentAt: aPoint -
> bounds origin)
> >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.

Well, I didn't rotate the form at all and AFAIK the point where I
clicked isn't transparent.

> >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
> >submorphs.
>
> I think this is a preference issue.
> Preferences disable:  #wantsHaloFromClick (or whatever
> the name of the preference really is)
> should do the trick.

Well I looked at the sourcecode of the Morph class it looks like this:

wantsHaloFromClick
        ^true.



More information about the Squeak-dev mailing list