|Anonymous | Login||06-25-2019 20:19 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0000591||[Squeak] Morphic||major||always||12-03-04 05:03||01-07-05 20:57|
|Summary||0000591: Embed bugs in rotated morph|
Ok. For this bug
from supplies grab a rectange and an ellipse.
With the halo handle twist the rectangle.
Bring the ellipse over to the tilted rectangle and from the red handle menu pick embed.
The sub menu will give 3 choices in sq3.7g-3985 and two in sq3.9a6404 or above.
The older sq3.7 offers the choice of Rectange or RectangleMorph the newer sq3.9 just the option of Rectange.
Embedding the ellipse into Rectangle starts the weirdness.
The ellipse jumps, tilts and its center becomes the center of the rotation. If there is a script (say one that does Rectangle turn by 5) it now refers to the ellipse.
If the halo handle is used to bring the heading back to north. The rectangle now jumps and is no longer embedded in the ellipse. The rectange is renamed rectangle1 and the ellipse is now named rectangle. If the rectangle had scripts it is the ellipse that is now connected to them.
Other interesting obervations. With the ellipse embedded into Rectangle using the halo menu to send it to the back makes the center of rotation go to the center of the rectangleMorph.
This of course is a bug with embedding more than one morph into a renderer. sq3.7 gives the option of avoiding this by picking embed into RectangleMorph sq3.9a does not.
I had a hard time deciding on the severity of this bug. It's like the guy going to the doctor and saying "Doc it hurts when I do this."
The doctor realizing how hard it would be to correct the real problem says to the patient "Then don't do that."
To the doctor its a minor problem.
To the patient depending on what he needs to do it is major.
Embedding into the rendering morph leads to weirdness.
Losing the option of embedding into the Rectangle morph is not good either.
|Attached Files||Morph-embeddingTargets.st.gz [^] (332 bytes) 01-02-05 08:10|
(0000823 - 118 - 144 - 144 - 144 - 144 - 144)
|The bug is trivial to fix by changing Morph>>potentialEmbeddingTargets to use "m isFlexMorph" instead of "m isFlexed".|
(0000998 - 71 - 71 - 71 - 71 - 71 - 71)
|Yep. Tried ar's fix and it seemed to do the job. Uploaded fixed method.|
(0001014 - 15 - 15 - 15 - 15 - 15 - 15)
|12-03-04 05:03||wiz||New Issue|
|12-03-04 14:53||andreas||Note Added: 0000823|
|01-02-05 08:10||wiz||File Added: Morph-embeddingTargets.st.gz|
|01-02-05 08:12||wiz||Note Added: 0000998|
|01-07-05 19:22||bert||Status||new => resolved|
|01-07-05 19:22||bert||Fixed in Version||=> 3.8|
|01-07-05 19:22||bert||Resolution||open => fixed|
|01-07-05 19:22||bert||Assigned To||=> bert|
|01-07-05 19:22||bert||Note Added: 0001014|
|01-07-05 19:22||bert||Assigned To||bert =>|
|01-07-05 20:57||bert||Status||resolved => closed|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
49 total queries executed.|
36 unique queries executed.