lllyasviel / lllyasviel/stable-diffusion-webui-forge
[Bug]: Styles Disappear After Reloading Browser (Chrome)
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:

Once I hit reload, all my new styles are gone. (OH NO!!)

Clicking on the Styles save dialog is also missing the new styles:

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:

### 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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