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

[Bug]: Notifications do not work with StylePile extension enabled

Open DrakeRichards opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

When the StylePile extension is enabled, notifications for the Automatic1111 webui (both sound and browser notifications) will only trigger when the webpage is first loaded. They will not trigger when a batch of images has finished generating in the txt2img or img2img tabs. Notifications do work in the Extras tab.

Steps to reproduce the problem

  1. Install the StylePile extension.
  2. Enable browser notifications.
  3. Reload the WebUI.
  4. If set up, notification.mp3 will play when the UI is first loaded.
  5. Generate a batch of images with txt2img.
  6. When finished, no notifications will occur.
  7. Same behavior will occur with img2img.

What should have happened?

A sound should play and a browser notification should generate once all batches have finished.

Commit where the problem happens

0cc0ee1b

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

  • Firefox
  • Edge

Command Line Arguments

set COMMANDLINE_ARGS=--medvram --xformers --no-half-vae

List of extensions

StylePile: https://github.com/some9000/StylePile openpose-editor: https://github.com/fkunn1326/openpose-editor.git sd-webui-controlnet: https://github.com/Mikubill/sd-webui-controlnet.git sd_grid_add_image_number: https://github.com/AlUlkesh/sd_grid_add_image_number.git a1111-sd-webui-tagcomplete: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete

Console logs

https://pastes.io/lgoac3ui9s

Additional information

No response

DrakeRichards avatar Feb 22 '23 21:02 DrakeRichards