Two workflows open and ctrl+c leads to erased workflow
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
When I have two tabs (two workflows) opened in ComfyUI, I should be able to copy a node from one and paste it to the other.
### Actual Behavior
When I have two tabs (two workflows) opened in ComfyUI, if I try to copy a node from one and paste it to the other, the one where I want to paste it appears exactly as the second one. After that, my two workflows (in two separate tabs) are exactly the same. If by accident I save at this moment, the previous work will be erased and I will end up with a copy of one of the two. Also, it is not possible to do a ctrl+z in order to reverse the change. It is necessary to close the file entirely, losing progress since last save.
### Steps to Reproduce
Open two tabs with two different workflows, copy a node from the first one and try to paste it into the second one. The two will be identical.
### Debug Logs
```powershell
Requested to load ZImageTEModel_
loaded partially; 4853.34 MB usable, 4614.75 MB loaded, 3057.50 MB offloaded, 237.50 MB buffer reserved, lowvram patches: 0
Requested to load Lumina2
loaded partially; 4853.34 MB usable, 4665.57 MB loaded, 1204.21 MB offloaded, 187.50 MB buffer reserved, lowvram patches: 0
100%|██████████████████████████████████████████████████████████████████████████████████████████████| 12/12 [00:16<00:00, 1.37s/it]
Requested to load AutoencodingEngine
Unloaded partially: 3568.69 MB freed, 1096.88 MB remains loaded, 210.94 MB buffer reserved, lowvram patches: 0
loaded completely; 219.66 MB usable, 159.87 MB loaded, full load: True
loaded partially; 4853.34 MB usable, 4665.57 MB loaded, 1204.21 MB offloaded, 187.50 MB buffer reserved, lowvram patches: 0
100%|████████████████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:07<00:00, 1.14s/it]
Requested to load AutoencodingEngine
Unloaded partially: 3568.69 MB freed, 1096.88 MB remains loaded, 210.94 MB buffer reserved, lowvram patches: 0
loaded completely; 219.66 MB usable, 159.87 MB loaded, full load: True
0: 640x640 1 face, 13.9ms
Speed: 3.9ms preprocess, 13.9ms inference, 3.3ms postprocess per image at shape (1, 3, 640, 640)
Detailer: segment upscale for ((134.3359, 203.64517)) | crop region (214, 325) x 3.5446705546100645 -> (758, 1152)
[Impact Pack] vae encoded in 0.2s
Requested to load Lumina2
loaded partially; 4851.42 MB usable, 4663.92 MB loaded, 1205.85 MB offloaded, 187.50 MB buffer reserved, lowvram patches: 0
100%|████████████████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:07<00:00, 1.02s/it]
Requested to load AutoencodingEngine
Unloaded partially: 2779.55 MB freed, 1884.38 MB remains loaded, 187.50 MB buffer reserved, lowvram patches: 0
loaded completely; 189.36 MB usable, 159.87 MB loaded, full load: True
[Impact Pack] vae decoded in 1.3s
Prompt executed in 48.32 seconds
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.