lllyasviel / lllyasviel/stable-diffusion-webui-forge

Styles menu reverts it's position to the first selection, during multi-selection

Open
#2,525 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

Hopefully an easy fix to throw in the next time Forge gets updated:

when when making multiple selections in the dropdown menu for styles selection in txt2img, the menu reverts it's position to the first check-marked style over and over after each selection is made. Effectively it goes back to the top of the list over and over.

if you use the styles list for prompt building or setting more than just 1 or 2 styles, this renders the menu unusable. A1111's latest styles menu for comparison retains it's last position after each selection.

tried a clean install to make sure i didn't break something with an extension, and no luck

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

Start by reproducing the issue in the txt2img styles dropdown with multiple selections and compare its behavior with A1111's styles menu. Trace the styles-menu entry point and identify why each selection returns the menu to the first checked style. Done means the menu retains its current position after every selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.