• 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
NSProgressIndicator not animating when part of NSAnimation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSProgressIndicator not animating when part of NSAnimation


  • Subject: NSProgressIndicator not animating when part of NSAnimation
  • From: Thomas Bauer <email@hidden>
  • Date: Sat, 15 Aug 2009 22:15:36 +1200

Dear List!

I am using an indetermined NSProgressIndicator as a subview of a NSView.
The frame of the NSView is animated using a NSAnimation.

Basically before (or after - i have tried both) [mynsanimation startAnimation] I do a [myprogressindicator startAnimation:self];
However, the progressindicator does not animate.


Even if the progressindicator is switched to a determined progressindicator later in the code,
although the change is visible, the barberpoleanimation inside the blue part is not moving.


However - when I click on the Window or perform a random keystroke, the animation starts.
Both is consistently happening in Leopard and Tiger.


If comment out the [mynsanimation startAnimation] and instead perform a non animated move of my view [myview setframe:newlocation],
the animation of the progress indicator works as expected.


The progressindicator is set to use its own thread for animation.
I have tried all different NSAnimation blocking modes to no effect.

I would appreciate any hint on how I could make the progressindication animate even if it is part of a view that is NSAnimated.
I would also very much like to know what the underlying reason is.


Thanks and kind regards
Thomas





_______________________________________________

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:
    • Re: NSProgressIndicator not animating when part of NSAnimation
      • From: Thomas Bauer <email@hidden>
  • Prev by Date: Re: observeValueForKeyPath returns null in the change directory???
  • Next by Date: signals question
  • Previous by thread: Re: Is it possible to detour a drag and drop operation?
  • Next by thread: Re: NSProgressIndicator not animating when part of NSAnimation
  • Index(es):
    • Date
    • Thread