[squeak-dev] Previous problems with drop shadows

Jerome Peace peace_the_dreamer at yahoo.com
Fri Dec 11 00:35:13 UTC 2009

Hi Chris, 

There are some clues to this hidden in these mantis reports:

[BUG][FIX] Drop shadows clipped incorrectly for translucent morphs 

0007276: shadowForm computes bounds inconsistantly. 

0003333: SimpleButtonMorph bug

Basically the true top left of a morph depends on its fullbounds.
Sometimes bounds topLeft is used. For scaled morphs this means the scale factor will be figured wrong.

Further I suspect the solution is tricky since fullbounds and layout interdepend on one another.

What you described sounded superficially similar. It also seemed to me something I had not seen before. The shadow offset changing with location. So if you can find a simple recipe for seeing the problem that would help track things down.

Needless to say a test that fails until the problem is solved would be a good start.

Yours in curiosity and service, --Jerome Peace


More information about the Squeak-dev mailing list