If you remove the last song from the queue while it is playing and the queue is open, you get stuck and can't close the queue because the bottom bar disappears.
Steps to reproduce
- Start playing a queue of tracks.
- Open the current play queue by clicking the button at the bottom right of the black bottom bar.
- Wait until the last track is playing.
- Remove the last, currently playing track from the queue.
What happens?
The black bottom bar disappears, but the play queue stays open, and there's no apparent way to close it again.
It also says Track n+1 of n" at the top, under "Queue".
What is expected?
The UI ought to go into the same state as it does when the last track finishes when the queue is open: "on" whatever the last remaining track in the queue is, if any, at time 0, but not playing. In particular, the black bottom bar should stick around so you can close the queue.
Context
Funkwhale version(s) affected: 0.21
A workaround is to start one of the other songs in the queue by clicking on it. Then you can get the bottom bar back and close the queue.
Edited by interfect