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

Removing an image from Img2Img or Inpaint by using the "x" button opens file load dialog automatically

Open mayofiddler opened this issue 3 years ago • 7 comments

Describe the bug Removing an image from Img2Img or Inpaint by using the "x" button opens file load dialog automatically

To Reproduce Steps to reproduce the behavior:

  1. Send a txt2Img pic to Img2Img or Inpaint using "send to" button
  2. Dismiss the sent pic from Img2Img or Inpaint by using the "x" button
  3. File load dialog pops up automatically and has to be dismissed

Expected behavior Expect image to be dismissed without a load dialog appearing

Desktop (please complete the following information):

  • OS: Win 11
  • Browser Firefox
  • Commit revision af3f6489d3b229da4e688eaf439adb5d3e4f070b

Additional context Worked fine up until this release

mayofiddler avatar Oct 17 '22 16:10 mayofiddler

its been like that at least for a day or two. probably caused by gradio version upgrade, since those sketchpads completely implemented by them. I'll try to trace the exact commit where it happened.

mezotaken avatar Oct 17 '22 16:10 mezotaken

Thanks, been away for the weekend so just noticed it today. I searched for a bug report but couldn't find one so opened this.

mayofiddler avatar Oct 17 '22 16:10 mayofiddler

I'll wait for a fix rather than revert, as there are older bugs that will just be reintroduced. It's very annoying but I can live with it until there's a fix.

mayofiddler avatar Oct 17 '22 16:10 mayofiddler

Just confirmed, this DOES happen on commit 4ed99d599640bb86bc793aa3cbed31c6d0bd6957 with gradio 3.5 and DOESNT happen on the same commit if gradio is 3.4.1.

mezotaken avatar Oct 17 '22 16:10 mezotaken

Seems pretty certain then :)

mayofiddler avatar Oct 17 '22 16:10 mayofiddler

Moreover if you'll scroll down to the image demo here: https://gradio.app/getting_started/ it behaves exactly the same.

mezotaken avatar Oct 17 '22 17:10 mezotaken

@ClashSAN this one can be closed and https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4388 too.

mezotaken avatar Nov 07 '22 10:11 mezotaken