ReadYouApp / ReadYouApp/ReadYou

MarkAsReadBar disappears on orientation change

Open Beginner friendly
#841 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
7.5k
Forks
330
PR merge metrics
No merged PRs in 30d

Description

1. Environment

  • Device: [Xiaomi Redmi Note 8 Pro]
  • OS: [Android 14]
  • APP: [0.9.12]

Note: not fixed in 0.10.1

2. Describe the bug

Problem: when I perform this sequence of events the MarkAsReadBar disappears:

  1. Open a feed
  2. Touch double tick icon at the top
  3. Rotate the device twice

Possible solution:

  • app/src/main/java/me/ash/reader/ui/page/home/flow/FlowPage.kt
  • variable "markAsRead": use rememberSaveable instead of remember

Screenshots:

Contributor guide

No contributing guide indexed for this repository

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 in app/src/main/java/me/ash/reader/ui/page/home/flow/FlowPage.kt and inspect the markAsRead state around the MarkAsReadBar. Reproduce the reported sequence: open a feed, tap the double tick icon, and rotate the device twice. The issue is done when the bar remains available after the orientation changes, with the behavior verified on Android.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.