Page MenuHomePhabricator

Tapping 'share' on places popover crashes on iPad
Closed, ResolvedPublic

Description

  1. On an iPad
  2. Open places
  3. Tap 'Share' on the visible popover (or any other popover)

Expected:
Share sheet appears

Actual:
Crash

Event Timeline

@cmadeo @JMinor where should the share popover appear on iPad?

sourceRect == the whole popover

Simulator Screen Shot Mar 1, 2017, 6.04.32 AM.png (2×1 px, 2 MB)

Simulator Screen Shot Mar 1, 2017, 6.10.32 AM.png (2×1 px, 2 MB)

Simulator Screen Shot Mar 1, 2017, 6.10.24 AM.png (2×1 px, 1 MB)

sourceRect == the share button

Simulator Screen Shot Mar 1, 2017, 6.09.00 AM.png (2×1 px, 2 MB)

Simulator Screen Shot Mar 1, 2017, 6.08.49 AM.png (2×1 px, 2 MB)

Simulator Screen Shot Mar 1, 2017, 6.08.53 AM.png (2×1 px, 2 MB)

Neither is ideal due to the double popover effect. We might be able to override this behavior and present it as a giant sheet on the iPad (similar to how it's presented on the iPhone currently).

You saw my crash reports?!

I'd suggest we do it as an action sheet, if not possible, the source being the share button seems better from the screenshots.

I agree with @JMinor, action sheet would be ideal, followed by the last screenshot.

Testing on iPad Air 2 (iOS 10.2) and Wikipedia app 5.4.0 (1083). This is fixed as tapping Share opened the Share sheet:

T159323 Part 1.PNG (2×1 px, 1 MB)

T159323 Part 2.PNG (2×1 px, 1 MB)