comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
52.41k stars 5.53k forks source link

doubleclick menu wonky #1867

Open drago87 opened 11 months ago

drago87 commented 11 months ago

When i doubleclick and get the search menu is shown like this doubblecklick 1 and if i am only a smidge to zoomed in it is is shown like this doubblecklick 2

I have a ultravide monitor and is using a AMD graphic card on windows 10 it stretches from where i click to the right for infinity (from what i can tell)

throttlekitty commented 10 months ago

Looks like it's the prompt reader node.

https://github.com/receyuki/comfyui-prompt-reader-node/issues/21

receyuki commented 10 months ago

@drago87 Have you installed the prompt reader node?

drago87 commented 10 months ago

I dont know but it sounds familliar. The drive went corrupted so i cant check

halr9000 commented 10 months ago

Looks like it's the prompt reader node.

receyuki/comfyui-prompt-reader-node#21

I tried disabling that one and it's still borked for me. Here's behavior w/o prompt reader:

See how wide it is all the time: Screenshot 2023-11-19 150921

And zooming in a little more like OP: image

halr9000 commented 10 months ago

I just disabled all my custom extensions and reloaded (wow that was quick restart :D ) and while it's much improved, it is easy to cause a similar behavior by just dbl-clicking near the edge of the screen image

Shouldn't this dialog check to ensure it never draws outside of the screen? That might fix all issues like this.

cjps-br commented 9 months ago

I'm also having the same problem. I tried a solution that seems to have resolved it:

I edited the file /ComfyUI_windows_portable/ComfyUI/web/user.css adding the following:

/ Put custom styles here /

.litegraph.litesearchbox input, .litegraph.litesearchbox select { max-width: 400px; }

When starting comfyui again, the box width problem seems to have been resolved.

cjps-br commented 9 months ago

I updated the environment (comfyui and custom nodes) and the user.css file that I had modified was deleted. I recreated the file as above and everything returned to normal. Now I have to research how to prevent the user.css file from being deleted with each environment update.