Automattic / Automattic/pocket-casts-android
Queue reordering delay
- Dominant language
- Kotlin
- Stars
- 2.8k
- Forks
- 308
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 143
Description
### Description
With a large Up Next queue (reproducible with 500+ episodes in the queue), reordering episodes by either dragging or swiping right sometimes has a delay where the episode stays in it's original location for a few seconds before jumping to the correct position.
9174198-zd-a8c
### Step-by-step reproduction instructions
1. Add 500+ episodes to the queue (may need less, but I was able to reproduce with 509 episodes)
2. Open the queue and reorder a few episodes by dragging.
3. Reorder a few episodes by swiping right (Play next).
### Screenshots or screen recording
Here's the drag issue (2nd episode I dragged):
https://github.com/user-attachments/assets/c8281399-08ca-4e13-9d74-7d0373d871d4
Here's the swipe issue (4th episode I swiped):
https://github.com/user-attachments/assets/71475f81-5cf4-4903-94d5-73fddc9da1d4
### Did you search for existing bug reports?
- [x] I have searched for existing bug reports.
### Device, Operating system, and Pocket Casts app version
Google Pixel 6a
Android 14
Pocket Casts 7.78.2(9296)
Contributor guide
Research direction
Reproduce the delay with a queue of 500+ episodes using the drag and swipe-right steps, then trace the Android queue reordering path. Confirm the fix by repeating both reorder actions and verifying episodes move without a multi-second delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100