wordpress-mobile / wordpress-mobile/WordPress-Android

Sharing media to the editor takes a long time to show

Open
#20,141 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Bug Gutenberg Media
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

Sharing media to the editor should be quick at least to show the block's placeholder while the image is being uploaded.

Actual behavior

In some scenarios, when an image is shared through intents to the editor you'd see the blank editor for a few seconds until the image shows up.

Ideally, the editor should open, and show the image block placeholder with the media being uploaded and not a blank canvas.

Steps to reproduce the behavior
  • Open the Photos app or any Files Explorer app
  • Select an image and share it to the editor

https://github.com/wordpress-mobile/WordPress-Android/assets/4885740/2740c279-a53e-4e2b-ad22-e4fda4121fdb

Tested on a Samsung Galaxy A23 5G, Android 14, JPAndroid / WPAndroid (latest version)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by sharing an image from Photos or a Files Explorer app to the editor, using the Samsung Galaxy A23 5G and Android 14 details provided. Trace the share-to-editor flow and observe when the editor and image block become visible. Done means the editor opens promptly with an image block placeholder while the media uploads, rather than showing a blank canvas.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.