anapnoe / stable-diffusion-webui-ux

Stable Diffusion web UI UX
GNU Affero General Public License v3.0
964 stars 60 forks source link

[Bug]: OOBE · theme editor · cannot select/apply themes #223

Open PaulCoddington opened 3 months ago

PaulCoddington commented 3 months ago

Checklist

What happened?

Selecting a theme has no effect on a fresh OOBE installation until at least one theme has been saved.

Steps to reproduce the problem

  1. Select any theme in theme editor (it has no effect).
  2. Click the Save button for any theme.
  3. Reload WebUI.
  4. Select any theme (theme selection now works).

What should have happened?

Theme selection should work at all times, even when themes have never been modified or saved.

What browsers do you use to access the UI ?

Microsoft Edge

Sysinfo

sysinfo-2024-03-28-11-01.txt

Console logs

Python 3.10.6 | packaged by conda-forge | (main, Oct 24 2022, 16:02:16) [MSC v.1916 64 bit (AMD64)]
Version: fork-3-g38c55375
Commit hash: 38c55375f4195082a4d9ff4dfcb4e1973ec34e29
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Calculating sha256 for C:\ProgramData\Stable Diffusion\sd-test\models\Stable-diffusion\SD1.5\v1-5-pruned-emaonly.safetensors: Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 12.4s (prepare environment: 2.5s, import torch: 4.1s, import gradio: 1.3s, setup paths: 1.2s, initialize shared: 0.2s, other imports: 0.7s, setup codeformer: 0.3s, load scripts: 1.4s, create ui: 0.5s, gradio launch: 0.2s).
6ce0161689b3853acaa03779ec93eafe75a02f4ced659bee03f50797806fa2fa
Loading weights [6ce0161689] from C:\ProgramData\Stable Diffusion\sd-test\models\Stable-diffusion\SD1.5\v1-5-pruned-emaonly.safetensors
Creating model from config: C:\ProgramData\Stable Diffusion\sd-test\configs\v1-inference.yaml
Applying attention optimization: Doggettx... done.
Model loaded in 7.6s (calculate hash: 4.5s, load weights from disk: 0.2s, create model: 0.3s, apply weights to model: 2.3s, calculate empty prompt: 0.1s).

Additional information

No response

PaulCoddington commented 3 months ago

Additional issues:

• Theme editor colors are not loaded from selected theme (default to 0,0,0). • Color selector popup swaps R and G values on save. • Cannot set hover/infotip text and background colors.

Workaround:

Create and edit theme files in text editor.