• 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: bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSProgressIndicator: bug?


  • Subject: Re: NSProgressIndicator: bug?
  • From: Jörn Salewski <email@hidden>
  • Date: Sun, 01 Feb 2004 23:30:53 +0100

am 01.02.2004 18:34 Uhr schrieb Stiphane Sudre unter email@hidden:

> I'm seeing problems with the NSProgressIndicator widget on Mac OS X
> 10.2.x in the following case.
>
> I have such a widget in a window. It needs to be hidden when it's not
> animated (indeterminate or not). And the animation is set to be
> threaded via the setUsesThreadedAnimation: method.
>
> On 10.2, there's a bug in InterfaceBuilder: the "Display when stopped"
> options is not correctly saved (at least with the 10.1 compatible
> format

It can not be saved in 10.1 format nibs because this feature/ method
(setdisplayWhenStoped) is a 10.2+ thing.

> I prefer due to other bugs in the 10.2 format on 10.2).
>
May I ask which they are?

> When I set this option via the code, I'm not getting the appropriate
> result: the NSProgressIndicator is not displayed.
>

Maybe you need to enforce redisplay (setNeedsDisplay:YES) of the view so
that this newly set flag can be taken into account for drawing and showing
(or in this case not showing) its state.

If this is the case, perhaps one wouldn't call it a bug. But I'm not sure;
haven't used progress indicators that much.

> My current conclusion is that there could be a bug in the API on 10.2 :
> you can't have both setUsesThreadedAnimation: and
> setDisplayedWhenStopped: set to YES. In any case that's why my tests
> are showing.
>

Yours,

Joern Salewski
_______________________________________________
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: bug?
      • From: j o a r <email@hidden>
References: 
 >NSProgressIndicator: bug? (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: compare two strings
  • Next by Date: Re: compare two strings
  • Previous by thread: NSProgressIndicator: bug?
  • Next by thread: Re: NSProgressIndicator: bug?
  • Index(es):
    • Date
    • Thread