Automattic / Automattic/pocket-casts-android
% of downloading reset to 0% and back to correct value after switching from one layout to another
- Dominant language
- Kotlin
- Stars
- 2.8k
- Forks
- 308
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 187
Description
This can also happen when scrolling a view off and back onto the screen.
### Steps to Reproduce
1. Download an episode from the **Filters* tab.
2. Observe the downloading percentage. It should increment.
3. While the episode is still downloading, switch to a different tab and back to the original position.
**Observations**
- Download percentage in Step 3 keeps resetting to 0% after going back to the **Filters** view.
https://user-images.githubusercontent.com/4656348/178306295-8f38c6de-cf8a-407c-a8e2-f79b17c067a4.mp4
**Test Build**
- 7.7 (4913)
- Reproduced on pre-release 7.20.0 build
Contributor guide
Research direction
Reproduce the issue on the Filters tab by starting an episode download, switching layouts or scrolling the view off-screen, and returning while it is still downloading. Trace how the downloading percentage is restored when the view reappears; done means the displayed percentage stays at or returns directly to the current value instead of resetting to 0%.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100