Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000887 [Squeak 5.2] minor always 02-15-05 07:14 02-19-05 11:12
Reporter ohshima View Status public  
Assigned To
Priority normal Resolution fixed Platform
Status resolved   OS
Projection none   OS Version
ETA none Product Build
Summary 0000887: mouseX and mouseY cause error when a playfield is rotated and playfield in the viewer is visited.
Description mouseX and mouseY cause error when a playfield is rotated and playfield in the viewer is visited. This is because the TransformationMorph doesn't understand #mouseX and #mouseY that are used in playfield category in eToys.
Steps To Reproduce
Additional Information Attached is the proposed fix.
Attached Files  mouseXY.cs.gz [^] (258 bytes) 02-15-05 07:14
 rotatedPlayfield-sw.1.cs.gz [^] (343 bytes) 02-15-05 08:00
 mouseXYFixes-yo.1.cs.gz [^] (635 bytes) 02-16-05 20:01

- Relationships

- Notes
(0001151 - 315 - 347 - 347 - 347 - 347 - 347)
ScottWallace
02-15-05 08:06

I confirm that this bug exists, as described by Yoshiki, but the "mouseXY.cs.gz" file does not seem to fix it (perhaps some code got inadvertently omitted from that fileout.)

In any case, I've now uploaded "rotatedPlayfield-sw.1.cs.gz", which I believe to be a correct fix. Yoshiki - please confirm, thanks!
 
(0001157 - 273 - 309 - 309 - 309 - 309 - 309)
ohshima
02-16-05 19:33

I forgot to include the two methods with #renderedMorph. Yes, thank you, Scott.

My fix fixes the coordinates which should be local to the playfield therefore should take care of the transformation.

All in all, these four methods are necessary, I think.

-- Yoshiki
 
(0001158 - 285 - 295 - 295 - 295 - 295 - 295)
ScottWallace
02-16-05 20:06

Yes, I agree that all four methods are necessary. So I have just uploaded "mouseXYFixes-yo.1.cs.gz", which combines the two earlier change-sets and seems to handle all issues here, and which is now (with preamble and method comments in place) proposed for publishing to squeakalpha.
 
(0001160 - 24 - 36 - 36 - 36 - 36 - 36)
ohshima
02-17-05 01:19

Thank you!

-- Yoshiki
 
(0001165 - 70 - 70 - 70 - 70 - 70 - 70)
ScottWallace
02-19-05 11:10

Published to SqueakAlpha on 19Feb05 as update 0389mouseXYFixes-yo.cs.
 

- Issue History
Date Modified Username Field Change
02-15-05 07:14 ohshima New Issue
02-15-05 07:14 ohshima File Added: mouseXY.cs.gz
02-15-05 08:00 ScottWallace File Added: rotatedPlayfield-sw.1.cs.gz
02-15-05 08:06 ScottWallace Note Added: 0001151
02-16-05 19:33 ohshima Note Added: 0001157
02-16-05 20:01 ScottWallace File Added: mouseXYFixes-yo.1.cs.gz
02-16-05 20:06 ScottWallace Note Added: 0001158
02-17-05 01:19 ohshima Note Added: 0001160
02-19-05 11:10 ScottWallace Note Added: 0001165
02-19-05 11:12 ScottWallace Status new => resolved
02-19-05 11:12 ScottWallace Resolution open => fixed
02-19-05 11:12 ScottWallace Assigned To  => ScottWallace
02-19-05 11:12 ScottWallace Assigned To ScottWallace =>


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