ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

doubleclick menu wonky

Open drago87 opened this issue 2 years ago • 7 comments

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)

drago87 avatar Oct 30 '23 22:10 drago87

Looks like it's the prompt reader node.

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

throttlekitty avatar Nov 17 '23 02:11 throttlekitty

@drago87 Have you installed the prompt reader node?

receyuki avatar Nov 17 '23 15:11 receyuki

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

drago87 avatar Nov 17 '23 15:11 drago87

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 avatar Nov 19 '23 20:11 halr9000

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.

halr9000 avatar Nov 19 '23 20:11 halr9000

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 avatar Dec 14 '23 14:12 cjps-br

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.

cjps-br avatar Dec 16 '23 12:12 cjps-br