Redraw the queue after the end of an episode without waiting for user interaction
Checklist
- [X] I have used the search function for open and closed issues to see if someone else has already submitted the same bug report.
- [X] I will describe the problem with as much detail as possible.
- [X] If the bug only to occurs with a certain podcast, I will include the URL of that podcast.
App version
3.0.1
Where did you get the app from
Google Play
Android version
12
Device model
Pixel 3a
First occurred
No response
Steps to reproduce
With 'auto delete' and 'delete removes from queue' on, I noticed that, once an episode ends, the queue is only redrawn when the user interacts with the app (e.g. by switching screens), and until that point ended episodes are still displayed as greyed out.
This can be confusing, as the episodes are about to be removed from the queue, but only after the user moves away from that screen. It might give the false impression that 'delete removes from queue' is not working as expected.
Expected behaviour
Instead, it would be clearer if the queue was redrawn as soon as an episode ends, without waiting for the user to interact with the app.
Current behaviour
No response
Logs
No response
This issue too seems to have been resolved in 3.2.0-beta1 by #6074. However, I was still able to trigger the old behaviour once, so I will keep testing for now.
Edit: My early experience was correct: on most occasions, the queue is now redrawn without user interaction, as expected. However, the issue is not entirely gone. Occasionally, after reaching the end of an episode (e.g. by skipping past the end), the episode which just ended will still be displayed - greyed out - in the queue. Trying to interact with the greyed out episode before the queue is redrawn will trigger all sorts of strange behaviours and issues.
Another consequence of this bug: if the user reorders episodes before the queue is redrawn, the user's action will be lost once AP catches up and redraws the queue.
I managed to record a video showing this behaviour. https://github.com/AntennaPod/AntennaPod/assets/25279797/e80df5a6-4447-423e-8b7c-dede911168c3