Comfy-Org / Comfy-Org/ComfyUI_frontend
Workflow cannot be displayed when switching tabs
- 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 searched existing issues to make sure this isn't a duplicate
- [x] I have tested with all custom nodes disabled ([see how](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled))
### What happened?
When I am running a workflow, switching the workflow tab will keep the interface blank, even if there are no tasks running, it still cannot be displayed. I conducted the following tests
1. Disable all third-party plugins, problem persists
After the task is completed, there is a probability that the corresponding workflow will be displayed, but others will not be displayed
3. It seems that the probability of occurrence is relatively high in some particularly performance intensive scenarios
When I switch, the console will display the following information:
Problem screen recording:
https://github.com/user-attachments/assets/2c66246c-8977-4c56-b9ee-ff3680efc4d7
version:
### Steps to Reproduce
1. Run a performance intensive workflow (such as running 4K images and generating videos)
2. Switch between tabs that have already been opened, switch back and forth a few times, and there is a high probability that it will appear
### How is this affecting you?
Feature doesn't work as expected
### ComfyUI Frontend Version
1.28.8
### Browser
Chrome/Chromium
### Console Errors
```javascript
When I switch, the console will display the following information:
Empty components: policy ignored
after configure graph
```
### Logs
```shell
```
### Additional Context
_No response_
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6732-Workflow-cannot-be-displayed-when-switching-tabs-2af6d73d365081b58eb9fc87f58cbc52) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.