[bug]: cancelling batch resets queue page
Is there an existing issue for this problem?
- [X] I have searched the existing issues
Operating system
macOS
GPU vendor
Apple Silicon (MPS)
GPU model
M1 Max
GPU VRAM
64 GB
Version number
4.2.2 post-1
Browser
Chrome 125.0.6422.76
Python dependencies
No response
What happened
I cancelled a batch of images. The queue page refreshed its position to the top. With many batches / generations enqueued, this required a lot of scrolling to return to the position in the queue, and became worse with multiple cancellations.
I think that this is a UX bug. It's a bad user experience and it doesn't match other UI behavior in the queue: as images in the queue change from pending -> in progress -> completed, it does not force a refresh or return to the top of the view. So this behavior seems to be unintended.
What you expected to happen
- Select an item in the queue. Choose "Cancel Batch".
- The batch is cancelled, item status tags are updated. The view is not reset and the scroll position does not change.
How to reproduce the problem
- Enqueue at least 2 batches of generations, with enough generations in total that the queue page is scrolling.
- Select an item. Choose "Cancel Batch".
- The batch is cancelled but scroll position is reset to top.
Additional context
No response
Discord username
No response
This is a function of using infinite scroll. We'll probably need to move to normal pagination to resolve this.