• 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
Redraw Problem with Layer-Backed View in Scroll View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Redraw Problem with Layer-Backed View in Scroll View


  • Subject: Redraw Problem with Layer-Backed View in Scroll View
  • From: Drew Mccormack <email@hidden>
  • Date: Thu, 8 Nov 2007 16:34:26 +0100

I have a strange redraw problem for a layer-backed view that I have nested in an NSScrollView. The problem persists regardless of whether I also make the scroll view layer-backed.

The problem is this: When the layer-backed view redraws, it seems to fade in. Without the scroll view, everything draws as expected, but with the scroll view, it looks like the view is flashing. I have put a video online showing the effect:

http://tb.chem.vu.nl/~cormack/Public/Cocoa/CoreAnimationScrollViewProblem.mov

Some other facts:

- Subviews of the layer-backed view seem to redraw fine, and do not fade in (see video)
- Scrolling the scroll view also works fine, with no drawing issues
- I have not set any CA effects for the view, such as transitions etc.


Has anyone else seen this and/or know a workaround?

Drew

---------------------------------------------------------
Drew McCormack

www.maccoremac.com
www.macresearch.org
www.macanics.net


_______________________________________________

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: Redraw Problem with Layer-Backed View in Scroll View
      • From: Troy Stephens <email@hidden>
  • Prev by Date: Re: NSStatusItem problem
  • Next by Date: Programatically Editing and NSTokenFieldCell (Inside an NSTextView)
  • Previous by thread: Re: Changing settings in System Preferences using cocoa api
  • Next by thread: Re: Redraw Problem with Layer-Backed View in Scroll View
  • Index(es):
    • Date
    • Thread