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.73k stars 5.57k forks source link

Double click menu disappears when cursor moves off menu, creating obstacle for my disability. #2930

Open CRIPPLED-Z0MBIE opened 7 months ago

CRIPPLED-Z0MBIE commented 7 months ago

I'm disabled and use the Windows On-Screen Keyboard to type. It's impossible to type in the search field of the double click quick menu because the menu auto-closes when the cursor moves off to the keyboard. (Windows 10)

Koitenshin commented 2 months ago

I'd also like to see a fix for this as I sometimes have to use a virtual keyboard on my system.

christian-byrne commented 2 months ago

This would be an easy fix I think. Make it so this Litegraph property:

https://github.com/comfyanonymous/ComfyUI/blob/011b11d8d767da3355555fe1253b162f55e985c5/web/lib/litegraph.core.js#L118C1-L119C1

Is toggled via a UI setting

geroldmeisinger commented 2 months ago

@christian-byrne thx so you can edit web/lib/litegraph.core.js and set search_hide_on_mouse_leave: false (this will change a git versioned file and cause conflicts once it changes). now the menu doesn't disappear when the cursor moves out. however you have to hit [Esc] and the search menu has to have the focus. I would expect it to disappear with a single-click outside.