Comfy-Org / Comfy-Org/ComfyUI_frontend

Workflow name conflict on restart

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

Description

### Expected Behavior

When restarting Comfy (for updates), the workflow name keeps the same name in the tab above of the previous workflow used before restart, but the workflow goes back to default.
What I'd expect would be to see untitled workflow + the default workflow or the previous workflow name + previous workflow.
![Image](https://github.com/user-attachments/assets/f90f2f81-ff34-4f7d-bd61-133f37faa3ef)

### Actual Behavior

Currently it's keeping the last workflow name, but use the default workflow. This is problematic when trying to open up the workflow from your saved workflow on the left tab. It won't load the workflow since the same name of that workflow is "opened". I have to keep closing the tab and re-open the workflow. This can be a hassle when trying various new workflow and getting the custom nodes ready for it.
![Image](https://github.com/user-attachments/assets/28083afb-5d91-4b2d-96b2-6900db8ef9a6)

### Steps to Reproduce

1. Open a workflow from your saved workflow on the left side menu
2. Add a custom node and install requirements
3. Restart ComfyUI (from node manager)
4. Wait for it to load back and press refresh
5. Realise the workflow name on the tab above is the same, but the current workflow is back to default
6. Open back your saved workflow from the left side menu
7. Realised it doesn't want to open because the same named tab is already open, but wrong loaded workflow.

### Debug Logs

```powershell
N/A
```

### Other

_No response_

---

*This issue is transferred from: https://github.com/comfyanonymous/ComfyUI/issues/7246*

Original issue was created by @DeepSeaCatz at 2025-03-15T06:10:48.000Z

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6428-Workflow-name-conflict-on-restart-29c6d73d365081e49e09c1330ea646fe) 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.