• 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: [SOLVED] progress indicator strange partial overlay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SOLVED] progress indicator strange partial overlay


  • Subject: Re: [SOLVED] progress indicator strange partial overlay
  • From: Nick Rogers <email@hidden>
  • Date: Sun, 16 Feb 2014 12:24:30 +0530

Hi,

I added -isOpaque to return YES to both the overlapping custom view and even sub-classed progress bar and set them to return -isOpaque as YES.
Although the problem is not there when progressing, but at the end when a alert panel comes to from and progress bar returns to 0.0, the same patch is there although this time grey.

So still relying on the dirtyRect checking way to solve this.

Best,
Nick

On 16-Feb-2014, at 11:39 am, Graham Cox <email@hidden> wrote:

>
> On 16 Feb 2014, at 4:36 am, Nick Rogers <email@hidden> wrote:
>
>> The about last 30% of the length of the progress bar was passed onto the drawRect: of the blue background custom view as dirtyRect.
>> Wonder what causes it.
>
> Probably because neither the progress view or your other view returns YES from -isOpaque, therefore when the progress invalidates its dirty rect is also passed to the views behind it. Not sure why it's just that end portion though, I would have expected the dirty rect to at least include the end of the filled progress bar.
>
> --Graham
>
>


_______________________________________________

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


References: 
 >Fwd: progress indicator strange partial overlay (From: Nick Rogers <email@hidden>)
 >Fwd: [SOLVED] progress indicator strange partial overlay (From: Nick Rogers <email@hidden>)
 >Re: [SOLVED] progress indicator strange partial overlay (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: [SOLVED] progress indicator strange partial overlay
  • Next by Date: Re: WWDC 2013 Core Data Earthquake Sample?
  • Previous by thread: Re: [SOLVED] progress indicator strange partial overlay
  • Next by thread: Re: WWDC 2013 Core Data Earthquake Sample?
  • Index(es):
    • Date
    • Thread