Comfy-Org / Comfy-Org/ComfyUI

Node Templates Create at Wrong Mouse Pointer Position

Open
#3,325 0 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

Intended Behavior:
Node template is created at the point you initially right click your mouse on the grid.

Current Behavior:
Node template is created at the point you click the node template in the popup context menu.

Possible Solution:
Save the mouse coordinate that the user right-clicked on (same coordinates that display the pop up menu initially at that location)
Use that mouse coordinate to create the node template, rather than the mouse coordinate after the user has chosen which node template they want.

Problem:
Create location is often halfway down/to the right on the screen from where you clicked.
If it overlaps with existing group nodes then dragging will mess up the existing group nodes.
So you end up having to scroll to a blank spot and create the node template there, then drag to where you want.
So, the node template that is supposed to save steps creates extra steps.

Know you're busy. Hope you can fix this! Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.