Sean,

> On Aug 30, 2016, at 11:10, Sean McBride <[email protected]> wrote:
> 
> Hi all,
> 
> I have a drawing bug in my app, and reduced it to a toy app.  Basically, I 
> create an NSBorderlessWindowMask type window who's content view draws a 
> translucent rounded rect.  Its only subview is an NSTextField that draws a 
> number in a big font.  When I display the window, all is well.  But when I 
> change the textfield text, or even simply remove the textfield, its old 
> string half remains in a ghostly outline.  This works in 10.9 and 10.10, but 
> is buggy in 10.11 and 10.12.  I figure it's an OS bug, but maybe the 
> description rings any bells for anyone?  Code is here is someone cares to 
> look...:

To test whether it was some cached artifact I put the following lines at the 
end of -countdownTimerDidFire: and the artifact was not redrawn.

[[self window] orderOut:nil];
[[self window] makeKeyAndOrderFront:nil];

I'm not suggesting this as a solution, but as more context as to where the 
artifact is being held.

Sandor

> 
> <https://www.rogue-research.com/BackgroundBug.zip>
> 
> Thanks,
> 
> -- 
> ____________________________________________________________
> Sean McBride, B. Eng                 [email protected]
> Rogue Research                        www.rogue-research.com 
> Mac Software Developer              Montréal, Québec, Canada
> 
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/admin.szatmari.net%40gmail.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to