Notes |
(0008423 - 1234 - 1330 - 1330 - 1330 - 1330 - 1330)
wiz
11-24-06 07:01
edited on: 11-24-06 07:29
|
When tilted ellipses and rectangles are rendered by a TransformationMorph.
Though the rectangle has be set to resist pickup the transformation morph has not. So it picks up.
Apparently you can mark a tilted rectangle to resist being picked up. It will not affect the transformation morph. In other words you can still pick up the tilted rectangle. Returning the rectangle to its unrotated position makes it resist however.
PolygonMorphs and subclasses do their own tilting w/o using the rendering morphs so they are not affected by the problem.
The fix would be to have the transformation morphs check their rendee before choosing to be picked up.
If you want to fix this look at pasteup morph to see how it decides to allow a morph within it to be lifted.
The difference between choices have made polygons and rendered morphs mean they behave differently when tilted or stretched. My personal path has been to rely more on polygons and less on the renderable morphs.
In 3.9 closed curves can be made to resemble ovals or rectangles. And mixed curves are capable of many shapes inbetween.
I've currently been making progess in getting polygons to tilt and stetch more usefully.
Yours in service, --Jerome Peace
|
|
(0008426 - 406 - 454 - 454 - 454 - 454 - 454)
wiz
11-24-06 08:28
edited on: 11-24-06 09:06
|
Attached Files TransformationMorph-isSticky.st
That does the trick. At least for rectangles and ellipses and other morphs rendered by TransformationMorph .
StickynessBugz.st provides the test that tells the difference.
Caveat: When the test fails the tilted rectangle in the middle of the screen is left behind. (I have not figured how to do that clean up yet.)
Yours in service, -Jerome Peace
|
|
(0010945 - 160 - 214 - 214 - 214 - 214 - 214)
wiz
07-28-07 22:59
|
"fix begin"
Installer mantis bug: 5500 fix: 'TransformationMorph-isSticky.st'.
"fix test"
Installer mantis bug: 5500 fix: 'StickynessBugz-wiz.st'.
"fix end" |
|
(0010946 - 159 - 171 - 171 - 171 - 171 - 171)
wiz
07-28-07 23:01
|
New test StickynessBugz-wiz.st has been made a subclass of MorphUIBugTest which allows for proper tear down.
Yours in curiosity and service, --Jerome Peace |
|
(0010947 - 161 - 191 - 191 - 191 - 191 - 191)
wiz
07-28-07 23:03
|
Reminder sent to: edgardec Hi Edgar,
I've made so many fixes, apparently I forgot a few.
You may wish to consider this one it patches another transformation morph bug.
Cheers --Jer |
|
(0010965 - 92 - 98 - 98 - 98 - 98 - 98)
edgardec
08-08-07 10:18
|
This now is 7138TransformationMorph-isSticky.cs and was in updates for 3.10
Thanks Jerome ! |
|
(0012799 - 55 - 55 - 55 - 55 - 55 - 55)
KenCausey
11-25-08 22:48
|
Harvested as update 7138 and released with Squeak 3.10. |
|