CAShapeLayer stops rendering path after a certain amount of points reached (iOS 12 regression)

Originator:steipete
Number:rdar://41247064 Date Originated:19-Jun-2018 02:12 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 12b1
Classification:Serious Bug Reproducible:Always
 
Summary:
CAShapeLayer stops rendering path after a certain amount of points reached. This is a regression in iOS 12. This can be easily reproduced in http://pdfviewer.io/ (v 2.4)

Steps to Reproduce:
Start drawing on a page, continue a few minutes drawings strokes until it disappears.

Expected Results:
Strokes should not disappear after a certain set of points

Actual Results:
See attached gif for details or Twitter: https://twitter.com/steipete/status/1008761873829974016

Version:
iOS 12b1

Notes:
Our drawing algorithm is quite sophisticated and we even use a maximum point limit.
Path works on Simulator + View Debugger, but fails on an actual device.

I did not provide a sample project as per discussion with Apple Engineer Bartosz Ciechanowski (Core Animation).

Thanks for looking into that.

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!