Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005500 [Squeak] Morphic minor always 11-23-06 15:33 11-25-08 22:48
Reporter dse View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0005500: many rotated mor
Description Resist being picked up
doesnt work with many objects when are rotated.
By example: Rectangle, Ellipse, Sketch doesnt work
Polygon, Curve works.

I discovered in 3.8 versions, but in 3.9 the bug persists.
Additional Information
Attached Files  TransformationMorph-isSticky.st [^] (252 bytes) 11-24-06 08:25
 StickynessBugz-wiz.st [^] (1,094 bytes) 07-28-07 22:57

- Relationships

- 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.
 

- Issue History
Date Modified Username Field Change
11-23-06 15:33 dse New Issue
11-24-06 07:01 wiz Note Added: 0008423
11-24-06 07:29 wiz Note Edited: 0008423
11-24-06 08:25 wiz File Added: TransformationMorph-isSticky.st
11-24-06 08:28 wiz Note Added: 0008426
11-24-06 09:02 wiz File Added: StickynessBugz.st
11-24-06 09:05 wiz Note Edited: 0008426
11-24-06 09:06 wiz Note Edited: 0008426
07-28-07 22:57 wiz File Added: StickynessBugz-wiz.st
07-28-07 22:57 wiz File Deleted: StickynessBugz.st
07-28-07 22:59 wiz Note Added: 0010945
07-28-07 23:01 wiz Note Added: 0010946
07-28-07 23:03 wiz Issue Monitored: edgardec
07-28-07 23:03 wiz Note Added: 0010947
08-08-07 10:18 edgardec Note Added: 0010965
08-11-07 04:35 wiz Status new => resolved
08-11-07 04:35 wiz Resolution open => fixed
08-11-07 04:35 wiz Fixed in Version  => 3.10
11-25-08 22:48 KenCausey Status resolved => closed
11-25-08 22:48 KenCausey Note Added: 0012799


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
81 total queries executed.
44 unique queries executed.
Powered by Mantis Bugtracker