• 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: NSProgressIndicator won't disappear!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSProgressIndicator won't disappear!


  • Subject: Re: NSProgressIndicator won't disappear!
  • From: prince <email@hidden>
  • Date: Fri, 11 Apr 2003 10:55:48 -0700

On Wednesday, April 9, 2003, at 03:25 PM, j o a r wrote:

On Wednesday, Apr 9, 2003, at 23:50 Europe/Stockholm, Ricci Adams wrote:

I'm using "new-style" nib files, and I checked and made sure that displayWhenStopped is properly set at NO.

In IB, or in code while the app is running?

I have the same problem, when my app is running.

When I'm done processing, I do:
myProgress.setIndeterminate(true);
myProgress.stopAnimation(this);
myProgress.setDisplayedWhenStopped(false);
myProgress.setNeedsDisplay(true);

To try to force it to disappear. I've tried a variety of combinations of this sequence. (myProgress starts intermediate, then goes to a progress bar style until the process is finished. Then I want it to disappear.)

The indicator is always visible during this opersation (but it is in a tab item). IF you click to another application and then back, or resize the window, it will then disappear-- but needsDisplay isn't causing it go away.

IS there some method to call to force the redraw other than needsDisplay? When the window redraws from other means, it does go away....

It is my experience that NSProgressIndicator doesn't like to be hidden while animating, but I don't have anything solid to back that statement. I don't know what advice to give - bug report? Try to reproduce the problem in a small sample project, and if you can, send it to Apple.

In my situation, its not being hidden, but it is also in a tabItem-- maybe that's the issue.

Jay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSProgressIndicator won't disappear!
      • From: Ricci Adams <email@hidden>
References: 
 >Re: NSProgressIndicator won't disappear! (From: j o a r <email@hidden>)

  • Prev by Date: object = [[Class alloc] init]
  • Next by Date: Re: design question: OpenGL and cocoa (Thanks Everyone)
  • Previous by thread: Re: NSProgressIndicator won't disappear!
  • Next by thread: Re: NSProgressIndicator won't disappear!
  • Index(es):
    • Date
    • Thread