Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000122 [tweak] minor always 09-03-04 10:34 04-22-05 22:08
Reporter bert View Status public  
Assigned To
Priority normal Resolution fixed  
Status resolved  
Summary 0000122: ColorTool clobbers alpha
Description when selecting a color in the ColorTool, the fill alpha value is set to 1.0 regardless of its previous value
Additional Information
Attached Files

- Relationships

- Notes
(0001355 - 181 - 211 - 211 - 211 - 211 - 211)
jens
04-07-05 11:43

this does not only happen in the color tool.

self fillColor: Color blue; fillAlpha: 0.5 .
self color := self color.

after that self fillAlpha is 1.0 and not 0.5 as expected.
 
(0001415 - 215 - 249 - 249 - 249 - 249 - 249)
jens
04-22-05 16:17

when this is a bug, it can be fixed by removing
"self alpha: aColor alpha." from CCostumeFill>>color:
if it isn't its an ugly unsymetric field.
There is a need of a symetric field to change the color in CPlayer.
 
(0001422 - 365 - 371 - 371 - 371 - 371 - 371)
andreas
04-22-05 22:08

Good point, thanks Jens. I've actually fixed it the other way around, e.g., make CCostumeFill>>color report the alpha value, which seems a little more consistent to me. If this causes problems we can still drop ten and punt ;-) (e.g., do it your way by removing alpha completely) In any case the asymmetry is a real problem and needs to be fixed one way or another.
 

- Issue History
Date Modified Username Field Change
09-03-04 10:34 bert New Issue
04-07-05 11:43 jens Note Added: 0001355
04-22-05 16:17 jens Note Added: 0001415
04-22-05 22:08 andreas Status new => resolved
04-22-05 22:08 andreas Resolution open => fixed
04-22-05 22:08 andreas Assigned To  => andreas
04-22-05 22:08 andreas Note Added: 0001422
04-22-05 22:08 andreas Assigned To andreas =>


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