Re: image drawing glitch
Re: image drawing glitch
- Subject: Re: image drawing glitch
- From: Jesse Grosjean <email@hidden>
- Date: Tue, 9 Nov 2004 15:38:24 -0500
Your code looks fine. Are you seeing the same symptom on more than
one machine? Can you make this problem show up in a small test case?
Is the glitch always in the same place, and the same size?
Well I gave up after spending 20 minutes trying to duplicate the
problem this morning. But I just noticed that it happened again. Anyway
the frequency seems to be less then the original 1 in 10 that I
mentioned earlier.
I only have access to one machine, but I've had a few reports of
something similar from beta testers. I haven't really tried to make a
test case yet, the problem looked odd, so I figured I would see if
anyone else had run into it first. I'll let you know if I can duplicate
it in a test case.
For me the glitch seems to be always the same or very similar. But here
is a screen shot of a similar glitch (hopefully related) from another
user, it might shed some more light on the problem:
http://www.hogbaysoftware.com/badgediconclue.jpg
In this case the glitch is all along the left side, and he says that
when the problem shows up its always that vertical bar for him. But the
color varies, most often it's black I think. Except in this particular
case note that the color of glitch is the same color as the image
border displayed in the text view below. Also in that case the images
have just been loaded from disk I haven't badged them.
Jesse
Thousands or millions of colors?
I've seen bugs in Thousands of colors in Image Rendering in Cocoa in
pre-Panther system.
I've also seen this kind of bug in NSButton drawing when the content
is just an icon.
I'm running OS X 10.3.5 in thousands of colors.
I'm using a NSCell subclass to draw these images. I'm using NSCells
standard drawing code, the subclass just override cellSize to return a
value a bit bigger then the default cell size for spacing reasons.
I'm using this code to draw the cells:
[each drawWithFrame:decoratorFrame inView:controlView];
I'm not truncating the decoratorFrame x,y,width,height coords into int
values. Could that make a difference?
Jesse
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden