stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Interrupt and Skip buttons sometimes disappear in Generate Forever mode

Open trip54654 opened this issue 11 months ago • 1 comments

Checklist

  • [X] The issue exists after disabling all extensions
  • [X] The issue exists on a clean installation of webui
  • [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • [X] The issue exists in the current version of the webui
  • [X] The issue has not been reported before recently
  • [ ] The issue has been reported before but has not been fixed yet

What happened?

Sometimes in Generate Forever mode the UI thinks generation stopped, while it's still going on in the background. The Interrupt and Skip buttons will disappear and the Generate button becomes visible in their place. The terminal output indicates that generation is continuing (it shows ongoing progress).

When this happens, you can't cancel generation. You have to wait until it stops.

Steps to reproduce the problem

  1. Start Generate Forever
  2. Press Interrupt while the first image is generation
  3. Press Interrupt again a short moment later

I think I've seen it outside of Generate Forever mode when interrupting and restarting manually, but it happened less often and can't be reproduced like this.

What should have happened?

WebUI should always be in sync with the generation.

What browsers do you use to access the UI ?

Mozilla Firefox

Sysinfo

Not anonymous enough.

Console logs

(There's nothing interesting on the console when this happens.)

Additional information

No response

trip54654 avatar Mar 20 '24 23:03 trip54654

Also, the buttons disappear (and the Generate button appears again) in other situations which I can't reproduce. Completely broken feature.

trip54654 avatar Mar 20 '24 23:03 trip54654