• 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: NSTextField not updated during large process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField not updated during large process


  • Subject: Re: NSTextField not updated during large process
  • From: Mikevann <email@hidden>
  • Date: Wed, 17 Oct 2012 10:59:54 -0600

Make sure your main thread is not busy, stuck waiting in a lock, or in a modal loop.  If it is many outside messages to the main thread and most UI updating will be queued up until the main thread is free again.

If this is the case, then it's not surprising NSProgressIndicator updates as it is typically setup to use its own thread for updating its state and display; it won't be as hindered when the main thread is busy.  But most of the other UI elements rely strictly on the main thread.

On Oct 14, 2012, at 5:25 PM, Koen van der Drift wrote:

> Interestingly, I also have a progressbar, and that one gets updated as expected in all cases. Very strange.


_______________________________________________

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

  • Follow-Ups:
    • Draw a nsview with nsbutton cell
      • From: Sanjay Arora <email@hidden>
References: 
 >Re: NSTextField not updated during large process (From: Koen van der Drift <email@hidden>)
 >Re: NSTextField not updated during large process (From: Koen van der Drift <email@hidden>)
 >Re: NSTextField not updated during large process (From: Mike Abdullah <email@hidden>)
 >Re: NSTextField not updated during large process (From: Koen van der Drift <email@hidden>)
 >Re: NSTextField not updated during large process (From: Koen van der Drift <email@hidden>)
 >Re: NSTextField not updated during large process (From: Mike Abdullah <email@hidden>)
 >Re: NSTextField not updated during large process (From: Koen van der Drift <email@hidden>)
 >Re: NSTextField not updated during large process (From: Mike Abdullah <email@hidden>)
 >Re: NSTextField not updated during large process (From: Koen van der Drift <email@hidden>)
 >Re: NSTextField not updated during large process (From: Koen van der Drift <email@hidden>)

  • Prev by Date: NSUbiquitousKeyValueStoreDidChangeExternallyNotification
  • Next by Date: gesture recognizers and nil-targeted actions
  • Previous by thread: Re: NSTextField not updated during large process
  • Next by thread: Draw a nsview with nsbutton cell
  • Index(es):
    • Date
    • Thread