InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: Gallery sometimes resets to first page when browsing images

Open kyhavlov opened this issue 1 year ago • 0 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

No response

GPU VRAM

No response

Version number

v5.0.0

Browser

Chrome Version 128.0.6613.138

Python dependencies

No response

What happened

The gallery page resets to the first page when browsing images, sometimes after spending a while browsing them but also when switching tabs/windows and refocusing on the UI later (this can happen when not generating images, and doesn't seem related to the auto-switch to new image setting). @psychedelicious speculated that this could happen when the UI disconnects from the server, because on reconnect it refreshes some data.

What you expected to happen

I'd expect the position/page of the images i'm looking at in the gallery to be maintained, even if the connection to the server gets reset/re-established behind the scenes. Right now it's inconvenient to have to keep re-navigating to whatever specific page I was on every so often because of this resetting.

How to reproduce the problem

No response

Additional context

No response

Discord username

No response

kyhavlov avatar Oct 04 '24 04:10 kyhavlov