Image deleted, but still in preview window after a new generation
Aamir3d opened this issue · 4 comments
Two issues actually
-
The image gets deleted, but if there's a new generation, the deleted image still stays in the preview window (Happens sometimes, not all the time)
-
The prompt text doesn't change (the behavior should be that if an image is deleted, and a new image is generated, the "image deleted" text should go away.
-
Image deleted text shows CORRECTLY after deleting a bad generation
With this commit, the info field doesn't show the last message anymore, when a new generation is started.
The preview issue is much trickier. The problem is, that depending on what you change for a new generation, the new filename will be the same as the deleted filename. In this case apparently the browser uses its cache and shows the old image.
I have no idea yet, how this could be fixed...
With this commit, the info field doesn't show the last message anymore, when a new generation is started.
The preview issue is much trickier. The problem is, that depending on what you change for a new generation, the new filename will be the same as the deleted filename. In this case apparently the browser uses its cache and shows the old image.
I have no idea yet, how this could be fixed...
Interesting info, I'll make sure to be more careful.
Thank you for being so proactive!
An easy temporary fix (client side) is changing the filename pattern:
Settings > Saving images/grids > Images filename pattern
[datetime<%Y%m%d_%H%M%S_%f>]-[seed]
= 20240122_001744_666968-193762924.png
This includes microseconds to ensure 100% unique filenames, according to the Wiki (might be necessary with certain extensions only)
Also, thank you so, so much for this extension. It's a must-have for me!