Comfy-Org / Comfy-Org/ComfyUI_frontend
[Bug]: Primitive node attached to seed input of Ksampler switching from "randomize" to "fixed" when copying nodes
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
### Frontend Version
v1.4.13
### Expected Behavior
Workflow where the seed widget of the Ksampler node has been converted to input and a primitive node is attached to input the seed.
The primitive node is set to "randomize" to generate a random seed each run.
Copying and pasting these nodes should retain the "randomize" state of the primitive node.

### Actual Behavior
When pasted, the primitive node switches to "fixed"

### Steps to Reproduce
Copy and paste a workflow or part of a workflow (including the primitive and Ksampler nodes) where the seed widget of the Ksampler node has been converted to input and a primitive node is attached to input a randomized seed. The state of the primitive node will change from randomize to fixed.
### Debug Logs
```powershell
-
```
### Browser Logs
-
### Setting JSON
{
"Comfy.NodeLibrary.Bookmarks": [],
"Comfy.WidgetControlMode": "before",
"Comfy.UseNewMenu": "Disabled",
"Comfy.PromptFilename": false,
"Comfy.LinkRenderMode": 2
}
### What browsers do you use to access the UI ?
Mozilla Firefox
### Other
_No response_
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-1757-Bug-Primitive-node-attached-to-seed-input-of-Ksampler-switching-from-randomize-to-15f6d73d365081c791adf9ac323cbbd1) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.