wordpress-mobile / wordpress-mobile/WordPress-Android

Pages List: List doesn't consistently load on first try

Open
#16,653 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

Whenever I open the Pages List, it will load all my pages.
If the pages are not able to load immediately, I expect to see a "Fetching pages" message.

Actual behavior

Sometimes, no pages are loaded and I see "You haven't published any pages yet" notice. Sometimes, only a few pages are loaded out of many.

Steps to reproduce the behavior
  1. Restart the app
  2. Head into My Site > Home or My Site > Menu select "Pages".
  3. Note whether all your pages are displayed
  4. Try it again

I had no pages, or only a few pages, ~60% of the time, across probably 20 tries in 5 languages. (I noticed this when doing i18n smoke testing)
When a few pages had already loaded, waiting a few seconds generally allowed the rest to appear.
When no pages were loaded, I needed to pull-to-refresh. A few times, this didn't work and I needed to navigate away from and back to the pages list.
Occasionally, all my pages loaded, or I got the "Fetching pages" message as expected when loading.

This is from a site with ~20 published pages:
loadpages

Tested on Samsung Galaxy S21, Android 12, WPAndroid 19.9-rc-4

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 issue through My Site > Home or My Site > Menu > Pages on the tested Android setup, then trace the Pages List loading path. Done means all published pages load consistently, or a "Fetching pages" message remains visible until loading completes, with refresh and navigation recovering when needed.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.