CALayer.anchorPoint not taken into account.

Originator:CeroceSoft
Number:rdar://11405394 Date Originated:2012-05-08
Status:open Resolved:
Product:Mac OS X Product Version:10.7 and 10.6
Classification:UI Reproducible:always
 
Summary:

A CALayer is associated with a NSView, and gets a rotation animation.

If the view which contains the NSView does not use a layer too, the NSView's layer rotates according to its anchorPoint as expected.
However, if the parent view uses a backing layer, the anchorPoint is not taken into account, and the layer rotates around the bottom left corner.

Expected Results:
The layer rotates around anchorPoint in both cases.

Actual Results:
The layer rotates around the bottom left corner.

Regression:
Tried on OS 10.6: same bug.
I tried to switch between SDK 10.6 and 10.7.

Comments


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!