wordpress-mobile / wordpress-mobile/WordPress-Android

[Reader] Post Details screen doesn't show cover picture on first visit

Open
#19,451 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

ref: p5T066-47C-p2#comment-14975

Expected Behavior

If the post has a cover image, it's shown in the post details screen header as soon as that screen is opened.

Actual Behavior

The header cover image is not shown for a post with a cover image in the post details screen, but if you open an existing comment and go back to the post details screen, it shows the cover image.

Steps to reproduce
  1. Tap on any post
  2. ⚠️ Notice that the cover photo is not visible
  3. Navigate to all comments
  4. Navigate back
  5. Notice that the cover photo is now visible
Note

I don't think this happens to all posts as I've seen the correct behavior multiple times, but it could be related to posts that don't really have a "real" featured image and instead have a post-body image that we treat as a featured image in some places (such as the posts list).

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 opening a post in the Reader, checking the Post Details header, opening all comments, and returning. Trace the Post Details cover-image loading path, especially for posts whose featured image comes from the post body; done when the cover image appears on the first visit for affected posts.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.