Closed RobertMtx closed 1 year ago
This is actually a problem with all dropdowns. It's related to Gradio but I'm not sure if it's something introduced by us or if it's an upstream issue.
I have this happening as well, so far only with checkpoint menu and Extras upscaler menu, figured it was user error as I recently moved to linux and had no such issue before. Clicking on the prompt field right after choosing a checkpoint helps avoid this most of the time for me.
Have seen this a couple of times, mostly after selecting a model and trying to type a prompt, even with the selector moved to the Options in main UI .
Moving it there does help prevent the undesired model loading at least, since having the checkpoint dropdown in the main UI only loads new models after pressing generate instead (also useful for having two different models queued for txt2img and img2img for instance).
Is there an existing issue for this?
What happened?
After expanding the model/check-point drop down box and typing some text to filter results, if the user clicks outside of the drop-down box (to cancel), a new model is always selected. Strangely, the model that is selected seems to be the very first model in the list, even if that model doesn't relate to whatever the user typed for the filter.
The expected behavior would be to close the drop-down box without making any changes when the user clicks outside of it (which is what happens if the user presses escape instead of clicking outside of it).
This is a minor bug, but likely easy to fix. I searched for it, but the issue is something that can be phrased a million different ways, so apologies if it has already been reported.
Thank you very much for this fantastic system/app. It has a very elegant software design. I code in c++, but can appreciate the flexibility of python and scripting. Thanks for sharing this amazing tool!
Steps to reproduce the problem
Most likely, the first checkpoint will be loaded.
What should have happened?
The drop-down box should just close when the user clicks outside of it. The checkpoint should not change.
Version or Commit where the problem happens
v1.5.1
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
Nvidia GPUs (GTX)
Cross attention optimization
sdp
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
OneButtonPrompt Stable-Diffusion-Webui-Civitai-Helper a1111-sd-webui-lycoris adetailer model_preset_manager openpose-editor sd-dynamic-prompts sd-webui-3d-open-pose-editor sd-webui-controlnet sd-webui-infinite-image-browsing sd_delete_button stable-diffusion-webui-images-browser ultimate-upscale-for-automatic1111 LDSR Lora ScuNET SwinIR canvas-zoom-and-pan extra-options-section mobile prompt-bracket-checker
Console logs
Additional information
I have a ton of models, and I keep them on a separate drive that requires a custom arg to link it in. However, I believe this issue has been happening since the beginning.