You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
Multiple bugs on rotate with modal open in WordPress Android (Android API 28, Pie v9.0 only) #1333
Opened modals remain open on rotate, just like they do in WordPress iOS, and WordPress Android on API version < 28.
Actual:
In WordPress Android, with a device running Pie (API 28/v9.0) , open modals on rotate will close, the editor may jump to focus on the wrong block, buttons for opening modals may stop working, and double rotations will crash (crash issue covered in WordPress Android Issue #10227).
Build numbers / Devices Tested
Tested using WordPress Android develop 78f11d9 and gutenberg-mobile release/1.11.0 branch and the Play Store beta build (13.2-rc-1). Verified on Samsung S10 API 28 and emulator Pixel 3 on API 28.
Verified issue does NOT exist on Samsung Galaxy Tab 3 API 26, and with emulator of Google Pixel on API 27, 26, and 21 (Min supported for WordPress Android)
Steps to reproduce:
Open WordPress Android on a device running Pie (API 28/v9.0) and start editing a post in the block editor
Open a modal from Block Inserter, new Image/Video Block, or Image Options gear button
Rotate the phone and observe that modal closes, focus shifts to different blocks, and button used to open modal may no longer be working.
(optional) If you rotate a second time you will see a crash (4th step fixed by Android PR #10383)
Hopefully the issues here can all be fixed from addressing the same root cause of #10227, but for now #10227 (the crash on double rotate) has a fix (Android PR #10383) and the rest of the behaviors on rotate do not. The fixes for this issue should be coordinated in tandem with Android PR #10383.
The ideal functionality would be to keep modals open on rotate, how they behave on WordPress iOS and the gutenberg-mobile Android example app. However, if there is no short term fix for keeping modals open on rotate, we should at least fix the crash issue, the incorrect focus issue, and the deactivated buttons issue.
Activity
SergioEstevao commentedon May 25, 2020
@cameronvoell is this still an open issue? I could not reproduce on my device.
cameronvoell commentedon May 26, 2020
Closed via wordpress-mobile/WordPress-Android#10383.