Comfy-Org / Comfy-Org/ComfyUI_frontend

Inconsistent behaviour when pasting images vs dragging and dropping them into a workflow

Open
#4,943 2 comments 0 reactions 0 assignees View on GitHub
area:workflows
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

If an image contains a workflow, dragging and dropping it into ComfyUI will load that workflow. But if I copy the image (from my filemanager for example) and press ctrl+v in the browser, it will instead load the image with the load image node, even if it contains a workflow. Both of those features are useful, but this feels kind of inconsistent.

I'm not sure what the right solution would be. Perhaps the app could ask the user what they want to do with the image. Or when dragging, highlight different areas of the UI with a message like "drop the image here to use it in your workflow" and "drop the image here to load its workflow". The first area could be in the graph area and the second one could be in the tab bar on top.

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4943-Inconsistent-behaviour-when-pasting-images-vs-dragging-and-dropping-them-into-a-workfl-24d6d73d3650812aad9dde322ea90e52) by [Unito](https://www.unito.io)

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.