Re: Problem with updating NSProgressIndicator
Re: Problem with updating NSProgressIndicator
- Subject: Re: Problem with updating NSProgressIndicator
- From: Jens Alfke <email@hidden>
- Date: Tue, 20 May 2008 07:43:55 -0700
That's a very strange problem. Ordinarily, even if the main thread
were hung, the progress bar would still show its animation (that's
done on the "UI heartbeat thread".) And the way it updates when you
click implies something's messed up with window-redraw behavior.
My first guess is that your code is calling AppKit unsafely from a
background thread. But it sounds like your other thread only does
calculations. Any other threads that might be making AppKit calls?
Second guess: something throwing an exception for some reason. Check
the console output for any exception logs. Set a symbolic breakpoint
at objc_exception_throw (on 10.5) or NSRaiseError (10.4) and see if it
gets hit.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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