Comfy-Org / Comfy-Org/ComfyUI_frontend
Copy and Paste bugs return 1.42.11
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
### Prerequisites
- [x] I am running the latest version of ComfyUI
- [x] I have custom nodes enabled
### What happened?
environment: ComfyUI 0.19.1, FE 1.42.11, Firefox, venv running in Ubuntu>
Copy and paste buys return with this version. Again, downgraded to 1.39.19 which has its quirks but is about OK.
When copying a group of nodes, the are not pasted at mouse like normal. One or more get's pasted 'miles' away on the canvas- a distance about 4 times the size of a typical workflow.
Annoying, but more annoying undo (xtrl-z) doesn't undo this faulty paste. It undoes one of the nodes pasted. So if I copy 12 nodes, I have to press undo 12 times, carefully watching what it is undoing... a challenge if the pasted notes are 'miles' away.
Copy and paste bugs come and go with releases and happen arbitrarily (like the old 'pasting a completely different node to that copied problem').
Together with persistent missing model messages that can't be disable, workflow template faults, etc I am currently still downgrading releases of ComfyUI to use 1.39.19.
### Steps to Reproduce
1.Copy and paste some nodes on a sizeable workflow.
2.
3.
### How is this affecting you?
Feature doesn't work as expected
### ComfyUI Frontend Version
1.42.11
### Browser
Firefox
### Console Errors
```javascript
```
### Logs
```shell
```
### Additional Context
_No response_
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-11304-Copy-and-Paste-bugs-return-1-42-11-3446d73d3650817cbed1d26c639c5814) by [Unito](https://www.unito.io)
Contributor guide
Research direction
No source file or test is named. First reproduce the copy-and-paste and undo behavior in Firefox with ComfyUI Frontend 1.42.11 on a sizeable workflow, then trace the frontend handlers involved; done means pasted nodes stay near the pointer and one undo removes the whole paste operation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100