Mail hangs when composing a mail with moderately large PDF attachments (because of PDF preview)

Originator:guillaume.algis
Number:rdar://34791461 Date Originated:03-oct.-2017 06:31 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.0.1 (15A402)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
When composing a new mail on iOS 11, after attaching a new PDF file of moderate size (~500KB) Mail displays a preview of said PDF, resulting in several seconds lags between keystrokes.
This makes writing the mail near impossible.

Steps to Reproduce:
1. Open Mail
2. Compose a new mail
3. Attach a PDF of moderate size (around 500KB does the trick for me)
4. Try typing text

Expected Results:
Typing is smooth, each keystroke makes the letter appear on screen

Actual Results:
Typing is super slow, Mail hangs between each keystroke

Version:
11.0.1 (15A402)

Notes:
This seems related to Mail displaying the preview of the PDF. For large PDFs (~20MB) Mail does not display a preview inline, and typing is smooth.

Attached is a PDF which Mail always struggles with.

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!