InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: cancelling batch resets queue page

Open JPBarringer opened this issue 1 year ago • 1 comments

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

  1. Select an item in the queue. Choose "Cancel Batch".
  2. 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

  1. Enqueue at least 2 batches of generations, with enough generations in total that the queue page is scrolling.
  2. Select an item. Choose "Cancel Batch".
  3. The batch is cancelled but scroll position is reset to top.

Additional context

No response

Discord username

No response

JPBarringer avatar May 24 '24 14:05 JPBarringer

This is a function of using infinite scroll. We'll probably need to move to normal pagination to resolve this.

psychedelicious avatar May 24 '24 22:05 psychedelicious