Re: NSProgressIndicator not animating when part of NSAnimation

2009-08-16 Thread Michael Vannorsdel
I had this problem once when I had accidentally called makeKeyAndOrderFront: on the window from a secondary thread. Animated system controls and tracking rects would work. On Aug 15, 2009, at 7:45 PM, Thomas Bauer wrote: Thanks for your response. I am not quite sure if I understand you co

Re: NSProgressIndicator not animating when part of NSAnimation

2009-08-15 Thread Thomas Bauer
Hi! Thanks for your response. I am not quite sure if I understand you correctly but here is what I tried: - Calling the whole code (starting the NSAnimation and the ProgressIndicator animation) using a performSelectorOnMainThread does not fix it. - Calling the whole code using performSel

Re: NSProgressIndicator not animating when part of NSAnimation

2009-08-15 Thread Kyle Sluder
On Aug 15, 2009, at 6:04 PM, Thomas Bauer wrote: Further to my below question I found out that the problem is related to what is triggering the code that starts the animation: If the code that starts the NSAnimation and the NSProgressIndicator animation is called in an IBAction called by a

Re: NSProgressIndicator not animating when part of NSAnimation

2009-08-15 Thread Thomas Bauer
Dear List! Further to my below question I found out that the problem is related to what is triggering the code that starts the animation: If the code that starts the NSAnimation and the NSProgressIndicator animation is called in an IBAction called by a button on a different window, the NSP

NSProgressIndicator not animating when part of NSAnimation

2009-08-15 Thread Thomas Bauer
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 progressin