NSScrollView with flipped=yes causes core animation issues.

Originator:gngrwzrd
Number:rdar://20680289 Date Originated:4/23/2015
Status:Open Resolved:
Product:Mac OS X Product Version:10.10.4
Classification:Other Bug Reproducible:Always
 
Summary:
Attempting to use core animation on a view that's inside of a flipped NSScrollView and flipped documentView causes core animation issues.

I've attached a zip file with two xcode projects. One illustrating the issue. The other illustrating a strange way to fix the issue.

Steps to Reproduce:
1. Create a new Document Based Application
2. Add a scroll view to the window
3. Create subclasses and override isFlipped for NSScrollView and the documentView.
4. Add an NSImageView to the scroll view - set some kind of image on it.
5. Try to fade out the image with it's animator.alphaValue


Expected Results:
The image properly fades out.

Actual Results:
The image appears to break up and not render properly.

Version:
10.10.4(14E7f)

Notes:
Zip file here: http://www.gngrwzrd.com/downloads/ScrollViewBug.zip

Configuration:
Imac 10.10.4
Mac Book Pro with 10.10.3

Comments

Screenshots

http://www.gngrwzrd.com/downloads/Screen Shot 2015-04-23 at 8.35.15 PM.png - bugged

http://www.gngrwzrd.com/downloads/Screen Shot 2015-04-23 at 8.35.22 PM.png - in xcode


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!