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

[Bug]: Swap X/Y Y/Z X/Z do not work, when one is "checkpoint"

Open Lesani opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

in X/Y/Z Plot, when one field is "checkpoint" where you can select which entries you want instead of typing, the "swap" buttons do not work:

Steps to reproduce the problem

image

click Swap X/Z

image

What should have happened?

Type and Values are swapped, instead only "type" is swapped

Commit where the problem happens

https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/89f9faa63388756314e8a1d96cf86bf5e0663045

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

set COMMANDLINE_ARGS= --xformers --theme dark --disable-nan-check --api

List of extensions

image

Console logs

no console log specific to this UI action is shown

Additional information

No response

Lesani avatar May 14 '23 19:05 Lesani

we discovered the same dog around the same time https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/40751091/0a437278-a134-450a-aa5b-c29f1358fced I believe this issue was introduced when we switched to the drop down selector

w-e-w avatar May 15 '23 05:05 w-e-w

I believe this issue was introduced when we switched to the drop down selector

I've seen the logic of dropdown before, and it doesn't seem to be a problem. Has anything changed since then, perhaps a bug introduced by updating Gradio?

Sakura-Luna avatar May 16 '23 04:05 Sakura-Luna

the axle and the values are actually properly swapped the issue is that the web element is not properly refreshed

if you change the axle to something else then change it back it will display as normal

w-e-w avatar May 16 '23 10:05 w-e-w

the issue is that the web element is not properly refreshed

This looks familiar, and on Gradio 3.16 it's even possible to have element shifting.

Sakura-Luna avatar May 16 '23 12:05 Sakura-Luna

I can't see any attached upstream bug and Gradio seems to've merged a ton of dropdown fixes the last half of a year, is anyone tracking if this particular one has been fixed and need any changes on this end?

thulle avatar Dec 22 '23 00:12 thulle

I think this issue was fixed by me when I was working on CSV mode but I'm not sure

https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/40751091/e53cdc7c-8f3c-4687-bc81-c6e914e950d4

https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/12491 https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/12684

w-e-w avatar Dec 22 '23 04:12 w-e-w