wordpress-mobile / wordpress-mobile/WordPress-Android

WP Media library wrong items upload ordering

Open
#13,223 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Noticed during internal call for testing (comment here pbMoDN-1oy-p2#comment-2753); note that I could not replicate it currently but we are further checking it (cc @maxme )

Expected behavior

When uploading into media library, I would expect the last added media to be on the top left in the grid.

Actual behavior

When uploading into media library, the last added media is not always on the top left in the grid.

Steps to reproduce the behavior
  • Upload picture 1, notice the uploading picture is on the top left.
  • Upload picture 2, notice the uploading picture is not on the top left (it’s right to previously uploaded picture).
  • Wait for upload and pull to refresh, notice the newly uploaded picture goes to the expected spot (top left).
Tested on [Pixel 3 Emu], Android [API 30], WPAndroid [#13216 CI Build]

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

Start by reproducing the upload sequence on the Pixel 3 emulator with Android API 30 using WPAndroid #13216 CI Build. Check the grid position during each upload and after pull-to-refresh; the issue is done when the newest media consistently appears in the top-left position.

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.