• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem with updating NSProgressIndicator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Problem with updating NSProgressIndicator (From: "Vitaly Ovchinnikov" <email@hidden>)

  • Prev by Date: Conceptual MVC Help
  • Next by Date: Re: NSApp with wrong _running count
  • Previous by thread: Re: Problem with updating NSProgressIndicator
  • Next by thread: Re: Problem with updating NSProgressIndicator
  • Index(es):
    • Date
    • Thread