Wordpress-android: Application stops responding if you rotate the device while selecting an image to upload

Created on 7 Dec 2019  路  3Comments  路  Source: wordpress-mobile/WordPress-Android

Steps to reproduce:

  1. Add and image block.
  2. Rotate the device.
  3. Tap "Choose image from device".
  4. Rotate the device.
  5. Tap to select an image.

Result: the application stops responding. (18s)

anr
Tested with WPAndroid 13.8-rc-1 on Pixel 3 Android 10.

Beta Request Media PostinEditing [Type] Bug gutenberg-mobile

All 3 comments

I reproduced this on debug version with following Gutenberg crash. I'm changing the type of this issue to gutenberg-mobile. Do you think someone from the GB team could look into it @mkevins? Thanks!
Screenshot_1575883938

Hi @planarvoid :wave:

I have also reproduced this, and I have confirmed it is related with the double-rotation crash. I have also confirmed that the approach used to address that crash (in this draft PR: https://github.com/wordpress-mobile/WordPress-Android/pull/10383) also fixes this issue.

Was this page helpful?
0 / 5 - 0 ratings