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

[Bug]: Tabs disappear in extension accordions

Open muerrilla 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?

Tabs inside extension accordions will disappear (no tab will be active) if you close the accordion and open it again, and you'll have to click on one manually to open it again.

Steps to reproduce the problem

  1. Go to an alwaysOn script's accordion (e.g. ControlNet)
  2. Change the tabs at least once (e.g. select ControlNet Model-1)
  3. Close extension accordion
  4. Open extension accordion

What should have happened?

Last active tab should be active.

Commit where the problem happens

aba5d639

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--disable-safe-unpickle --xformers --xformers-flash-attention

List of extensions

ControlNet

Console logs

(sdwebui) e:\stable-diffusion-webui>webui-user.bat
venv "e:\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 | packaged by conda-forge | (main, Oct 24 2022, 16:02:16) [MSC v.1916 64 bit (AMD64)]
Commit hash: aba5d639fb20df035243246cf5edb143eda94546
Installing requirements for Web UI

Launching Web UI with arguments: --disable-safe-unpickle --xformers --xformers-flash-attention
======================= LOADING MODELS ============================
LOAD READY!!!!!!!!!!!!!
Loading weights [b1421d3415] from E:\stable-diffusion-webui\models\Stable-diffusion\Arvandii-800.ckpt
Creating model from config: E:\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: E:\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(1): wjformula
Textual inversion embeddings skipped(1): UrbanJungle
Model loaded in 5.6s (load weights from disk: 0.8s, create model: 0.6s, apply weights to model: 0.7s, apply half(): 0.9s, load VAE: 0.3s, move model to device: 1.1s, load textual inversion embeddings: 1.1s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 49.2s (import torch: 2.2s, import gradio: 1.4s, import ldm: 0.4s, other imports: 1.3s, list extensions: 0.4s, setup codeformer: 0.1s, load scripts: 20.4s, load SD checkpoint: 5.7s, create ui: 17.0s, gradio launch: 0.1s).

Additional information

No response

muerrilla avatar Mar 25 '23 20:03 muerrilla