Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001002 [Squeak 5.2] minor always 03-17-05 20:17 03-23-05 09:54
Reporter ohshima View Status public  
Assigned To
Priority normal Resolution fixed  
Status resolved  
Summary 0001002: choose new graphic... can cause an error
Description To reproduce:

  * Paint a Sketch
  * from red-halo menu, 'choose new graphic...'.
  * Hit "Next" or "Prev" many times. If you come across a form with 0 width or 0 height, you'll get an error.

Attached is a proposed fix.
Additional Information
Attached Files  newGraphicsFix.cs.gz [^] (552 bytes) 03-17-05 20:18

- Relationships

- Notes
(0001293 - 296 - 296 - 296 - 296 - 296 - 296)
ScottWallace
03-23-05 09:54

Tested, then published to SqueakAlpha as update 0409newGraphicsFix-yo. I don't know how a SketchMorph with zero width or height can be found in the wild, but I was able to create one by brute force, and with that was able to verify that the bug could be reproduced, and that the fix does fix it.
 

- Issue History
Date Modified Username Field Change
03-17-05 20:17 ohshima New Issue
03-17-05 20:18 ohshima File Added: newGraphicsFix.cs.gz
03-23-05 09:54 ScottWallace Note Added: 0001293
03-23-05 09:54 ScottWallace Status new => resolved
03-23-05 09:54 ScottWallace Resolution open => fixed


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