Mouse click coordinates wrong when you leave ComfyUI on a long time.
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
Issue:
Click the mouse. What actually gets selected in ComfyUI is far off from where you actually clicked.
Not only are you unable to interact with ComfyUI properly but you usually mess up your graph because you are clicking something far off from what you meant to click.
Seems to happen very consistently when I have comfyui windows open for a long time.
I am not sure if it's because of duration of time open,
or perhaps because I minimized and then re-opened the window.
It doesn't do it for me during normal operation after you first start comfyui, so there is some event happening causing this.
I am using Chrome on Windows 10
To fix it:
If you click the maximize button on chrome a couple of times, (resizing the browser window size), it resets the cursor position to the correct spot.
So I think it is something to do with ComfyUI losing the correct window size or mouse cursor position.
This also only works on the tab you are on, so if you have multiple comfyui tabs open, you have to resize the browser window for every tab you have open to reset it. So it's not really a "fix".
You can refresh the actual browser page to fix it, but then you often lose what you had on that tab if you have multiple comfyui tabs open. Comfyui will usually reload the last workflow queued if you do this, replacing the one you had in that tab. So this is also not really a "fix"
Restarting the comfyui console window doesn't seem to fix it either - if you go back to the tab you were working on.
Doesn't work:
Minimizing and re-opening doesn't fix it, neither does hitting the refresh button on the comfyui menu.
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.