wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.69k stars 1.12k forks source link

[GlobalStep] iOS - Full Screen images re-size and position incorrectly when rotating device. #13757

Open wptester9845 opened 4 years ago

wptester9845 commented 4 years ago

Description

Opening any image on any iOS device will display it correctly. As soon as the user rotates the device in any direction, the image will begin to re-size and positioning incorrectly. The image will not display properly in Full Screen mode again until leaving and returning to this mode.

Reproduction Rate

4/4 100%

Expected behaviour

Full Screen images should re-size and stay within screen edges.

Actual behavior

The images on Full Screen will re-size randomly and have portions out of screen.

Steps to reproduce the behavior

  1. Install and Launch WordPress 14.5
  2. Log in with a valid email address.
  3. Tap 'Continue'.
  4. Scroll down to 'Publish' and tap 'Media'.
  5. Tap on an image and tap again to full screen it.
  6. Rotate the device and observe the image's behaviour.
Tested on the following

iPhone 8 (13.2.3) iPhone SE (13.1.3) iPhone 5S (12.0.0) iPad Air 3 (13.2.3)

Please see the attached video for more information

iOS fullscreen image rotating.zip

Submitted by:

Ricardo Silva

designsimply commented 4 years ago

Tested and confirmed. Also found that the problem reported here where the fullscreen image doesn't look right after rotating the device also happens when accessing the preview in the block editor. (43s)

Confirmed it's happening as far back as 13.9.0.2 (downloaded from TestFlight). (28s)

For reference: fullscreen previews were implemented in the block editor in https://github.com/wordpress-mobile/gutenberg-mobile/pull/1597.

Adding to Groundskeeping since the problem isn't new in this release.