ReadYouApp / ReadYouApp/ReadYou
SearchBar disappears on orientation change
Open
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 SearchBar disappears:
- Open a feed
- Open search bar
- Type "python"
- Rotate the device twice
Possibile solution:
- app/src/main/java/me/ash/reader/ui/page/home/flow/FlowPage.kt
- variable "onSearch": use rememberSaveable instead of remember
Screenshots:
Contributor guide
No contributing guide indexed for this repository
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
Start in app/src/main/java/me/ash/reader/ui/page/home/flow/FlowPage.kt and inspect how the onSearch variable is retained during configuration changes. Reproduce the reported flow by opening a feed, searching for "python," and rotating the device twice; done means the SearchBar remains visible with its search state preserved.
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
- 58/100