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

If image size is too small: First click on inpaint preview shrinks model and resizes something

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

I load an 256x256 pixel image into inpaint or I send it to inpaint. The first left click on the image resize the image and wrecks up the interface. Parts of the window can not be painted anymore. I don't think it's a display bug but rather a window control bug.

bug1

Steps to reproduce the problem

Load 256x256 px image image into inpaint in Chrome.

What should have happened?

Inpaint should just start.

Commit where the problem happens

3715ece0adce7bf7c5e9c5ab3710b2fdc3848f39

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--xformers --api --no-half
git pull
call webui.bat

List of extensions

No

Console logs

No error

Additional information

No response

This seems to happen with images < 480 height. When scripted to resize to at least 480 height, images behave properly. Maybe it's a Gradio limitation, not a WebUI limitation?

LonicaMewinsky avatar Feb 16 '23 02:02 LonicaMewinsky