Wordpress-ios: [GlobalStep] Application attempts to load an already cached image when editing it offline

Created on 12 Feb 2020  Â·  2Comments  Â·  Source: wordpress-mobile/WordPress-iOS

Description

Attempting to edit an already cached image while offline causes the message “We couldn’t retrieve this media. Please tap to retry” to be displayed.
If the user edits an image that was already previously loaded for editing then the user can proceed with the image editing and the changes will be retained and uploaded once the device is online.

Reproduction Rate

4/4 100%

Expected behavior

The user should be able to edit an image that was previously cached.

Actual behavior

The application attempts to download an image that is already cached.

Steps to reproduce the behavior

  1. Install WordPress 14.2
  2. Log in to an account.
  3. Press the “Add new” button.
  4. Select the blog post option.
  5. Type a title.
  6. Insert an image.
  7. Publish the post.
  8. Enter edit mode for that post.
  9. Disconnected the device from the Internet.
  10. Select the image in the post editor and select “Edit”.
  11. Attempt to edit the image.
    Tested on the following

iPhone XR (12.0.1)

Please see the attached video for more information

iOSImageEditOffline.zip

Screen Shot 2020-08-12 at Aug 12 5 20 11 PM

Submitted by:

Luis Pimenta

Beta Request Media Editing Offline Support [Type] Bug

All 2 comments

cc @leandroalonso

Thanks for testing it, Luis.

Unfortunately, this is how it should work. The cached imaged that is presented on the screen is a smaller one. In order to crop, we need the full resolution image — otherwise, the user will end up with a smaller version of the original image.

Fixing that would require pre-loading the image and that brings a lot of additional complexity.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jleandroperez picture jleandroperez  Â·  3Comments

marekhrabe picture marekhrabe  Â·  3Comments

jkmassel picture jkmassel  Â·  3Comments

ScoutHarris picture ScoutHarris  Â·  3Comments

frosty picture frosty  Â·  3Comments