Re: Heartbeat thread is blocked? -- With Code and Movie
Re: Heartbeat thread is blocked? -- With Code and Movie
- Subject: Re: Heartbeat thread is blocked? -- With Code and Movie
- From: "Sean McBride" <email@hidden>
- Date: Thu, 20 Aug 2009 10:34:34 -0400
- Organization: Rogue Research Inc.
On 8/19/09 5:05 PM, Seth Willits said:
>> I've been noticing this for a little while now. For some wacky
>> reason, the thread that tickles default buttons and progress
>> indicators to update is somehow no long working in my app. Default
>> buttons don't pulsate and the progress indicators don't spin. The
>> GUI is fully responsive otherwise, but these items don't animate
>> properly. Does anyone have any clue as to why that would happen?
>
>
>I've completely stripped this project down to the absolute bare bones
>and it shows this bug. Simply launch the app. You'll see that the
>default button in the window is NOT plusating like it should be, and
>if you click it, you'll see that the progress indicator does NOT spin
>like it should.
>
>One of the views in the hierarchy is set to have a CA layer (through
>setWantsLayer). If you turn that off, it works. If you move the button
>and progress indicator to different (certain) views, it works. (Other
>combinations don't work.)
When you turn layering on for a view, it turns it on for all subviews
also. They recommend you try to minimise the number of views using
layering. I've found that lots of view don't draw properly with
layering on, like NSPathControl and others. IIRC it's in the AppKit
release notes.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden