QuickLook share popover completely misses the position when size changes on iOS 11 and iOS 10 (iPad only)
| Originator: | felipekellermann | ||
| Number: | rdar://33132688 | Date Originated: | July 5 2017 |
| Status: | Open | Resolved: | |
| Product: | iOS + SDK | Product Version: | iOS 11.0 (15A5304j) and iOS 10.X |
| Classification: | UI/Usability | Reproducible: | Always |
Area: UIKit Summary: This only happens on iPad using iOS (10.0 through 10.3.3 beta and 11.0b2). Works fine using iOS 9.3.5. When the QuickLook is presenting the standard share popover and the size changes (user rotates, splits the window, etc.) the popover points to a completely wrong position (0, 0). This happens using both standard apps (Mail, Files, etc.) and 3rd party apps using the QL framework. This happens when the source (barButton) of the popover is deallocated and (re)created leaving an incorrect source. The source should be (re)associated or the button should not be deallocated/recreated when the size changes (viewWillTransitionToSize:...). See attached screenshots. Steps to Reproduce: 1 - Open *any* QuickLook document (any format) using standard or 3rd party apps. 2 - Tap the standard share buttons. 3 - Change the size (rotate, split, etc.). See attached screenshots. Expected Results: The share popover should remain correctly positioned (see iOS 9.3.5). Observed Results: The share popover points to a completely wrong position (0, 0) Version: iOS 11.0 (15A5304j) and iOS 10.X also. Notes: Configuration: ---- https://www.dropbox.com/s/47robi0d2xfvf56/Radar-33132688.zip?dl=0
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!