lllyasviel / lllyasviel/stable-diffusion-webui-forge

[Bug]: Styles Disappear After Reloading Browser (Chrome)

Open
#643 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### 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
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

Styles saved during an instance disappear if you hit the reload button (tested in Chrome).

Here's what it looks like after I save a few new styles:
![After Adding Style-things-look-fine](https://github.com/lllyasviel/stable-diffusion-webui-forge/assets/127359965/2f624bc6-2df0-4871-b337-84527068a69f)

Once I hit reload, all my new styles are gone. (OH NO!!)
![same-instance-after-reload](https://github.com/lllyasviel/stable-diffusion-webui-forge/assets/127359965/70271771-5a23-42ba-b703-c41aafb40b17)

Clicking on the Styles save dialog is also missing the new styles:
![this menu also missing](https://github.com/lllyasviel/stable-diffusion-webui-forge/assets/127359965/9dfe4049-fba1-4237-a40e-fbaf1fb3d4be)

The only way to get them to come back I found when I (grumblingly) saved a new style and found my other styles back, like a runaway teen who got hungry and cold:
![only way to get them back is to save a new style](https://github.com/lllyasviel/stable-diffusion-webui-forge/assets/127359965/19340a01-6f69-4966-ab5a-a7cc49b1495b)

### Steps to reproduce the problem

1. Save a style or two.
2. Click reload.
3. Look at Styles dropdown menu.
4. Observe missing styles.

### What should have happened?

nothing

### What browsers do you use to access the UI ?

Google Chrome

### Sysinfo

[sysinfo-2024-04-06-01-51.json](https://github.com/lllyasviel/stable-diffusion-webui-forge/files/14891952/sysinfo-2024-04-06-01-51.json)

### Console logs

```Shell
No output related to bug.
```

### Additional information

_No response_

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or code entry points are named. Reproduce the problem by saving styles, reloading in Chrome, and checking the Styles dropdown; trace how saved styles are loaded after reload and verify that they remain visible without saving another style.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.