wordpress-mobile / wordpress-mobile/WordPress-Android
[Reader] Post Details screen doesn't show cover picture on first visit
Nobody has claimed this yet.
- 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
- Tap on any post
- ⚠️ Notice that the cover photo is not visible
- Navigate to all comments
- Navigate back
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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