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

[Bug]: "Read generation parameters from prompt" button not checking "Extra" option

Open sulley57 opened this issue 2 years 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?

When pasting generation prompts and pressing the "Read generation parameters from prompt" button, if the provided prompt has a variation seed, but doesn't contain the text "Seed resize from: ..." (indicating "Resize seed from width/height" options were set to 0), the "Extra" button won't automatically be enabled, and the "Resize seed from width/height" won't be set to 0x0.

Steps to reproduce the problem

  1. Generate an image that uses a variation seed and a variation strength greater than 0, with "Resize seed from width/height" both at 0.
  2. PNG info the generated image and copy the generation parameters into txt2img positive prompt
  3. BEFORE PRESSING "Read generation parameters" button, change both "Resize seed from width/height" to numbers greater than 0, and then uncheck the "Extra" button.
  4. Press "Read generation parameters" button.

What should have happened?

The "Extra" option should be enabled, and "Resize seed from width/height" should both be set back to 0x0.

Commit where the problem happens

88e01b237e60730338823ac4f11972a98d698ce7

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox, Google Chrome, Brave, Microsoft Edge

Command Line Arguments

--xformers

Additional information, context and logs

This matters because despite using a 0x0 resize resolution for your variation seed, as long as your variation strength is above 0, there is still a change in the generated image.

sulley57 avatar Jan 07 '23 03:01 sulley57