Comfy-Org / Comfy-Org/ComfyUI_frontend

After the workflow is half-closed, the taskbar still has a label for the residual workflow.

Open
#5,286 1 comment 0 reactions 0 assignees View on GitHub
area:ui area:workflows Potential Bug
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?

issue:After the workflow is half-closed, the taskbar still has a label for the residual workflow.

Image

### Steps to Reproduce

1. Open both workflows
2. Close one of the workflows

### How is this affecting you?

Visual/UI issue only

### ComfyUI Frontend Version

1.26.7

### Browser

Edge

### Console Errors

```javascript
components-manager.js:770 Empty components: policy ignored
BiRefNet_Hugo.js:117 beforeConfigureGraph called
mul_input_count.js:33 Node created: CLIP文本编码器
mul_input_count.js:33 Node created: CLIP文本编码器
mul_input_count.js:33 Node created: 空Latent
mul_input_count.js:33 Node created: K采样器
mul_input_count.js:33 Node created: VAE解码
mul_input_count.js:33 Node created: 保存图像
mul_input_count.js:33 Node created: Checkpoint加载器(简易)
tools.js:28 after configure graph
vue.esm-browser.prod.js:5 TypeError: Cannot read properties of undefined (reading 'then')
at app.loadGraphData (group_assistant.js:882:29)
at openWorkflow (workflowService.ts:184:15)
at loadNextOpenedWorkflow (workflowService.ts:376:13)
at Object.closeWorkflow (workflowService.ts:230:13)
at closeWorkflows (WorkflowTab.vue:129:36)
at onCloseWorkflow (WorkflowTab.vue:141:9)
at WorkflowTab.vue:174:2
at n..n. (vue.esm-browser.prod.js:5:95672)
at t3 (vue.esm-browser.prod.js:5:21395)
at t6 (vue.esm-browser.prod.js:5:21463)
(匿名) @ vue.esm-browser.prod.js:5
t4 @ vue.esm-browser.prod.js:5
(匿名) @ vue.esm-browser.prod.js:5
compositor3.js:290 graphChangedHandler Arguments(1)
index.js:14 Parameter defaultValue is deprecated. The default value in settings definition will be used instead.
console.warn @ index.js:14
getSettingValue @ settings.ts:58
keyListener @ image_chooser.js:46
index.js:14 Parameter defaultValue is deprecated. The default value in settings definition will be used instead.
console.warn @ index.js:14
index.js:14 Parameter defaultValue is deprecated. The default value in settings definition will be used instead.
console.warn @ index.js:14
```

### Logs

```shell

```

### Additional Context

issue:After the workflow is half-closed, the taskbar still has a label for the residual workflow.
Solution:
1. Eliminate the suspected problem node, and the bug still exists.
2. f12 Open the console, close the workflow, and output the error log:components-manager.js:770 Empty components: policy ignored
BiRefNet_Hugo.js:117 beforeConfigureGraph called
mul_input_count.js:33 Node created: CLIP文本编码器
mul_input_count.js:33 Node created: CLIP文本编码器
mul_input_count.js:33 Node created: 空Latent
mul_input_count.js:33 Node created: K采样器
mul_input_count.js:33 Node created: VAE解码
mul_input_count.js:33 Node created: 保存图像
mul_input_count.js:33 Node created: Checkpoint加载器(简易)
tools.js:28 after configure graph
vue.esm-browser.prod.js:5 TypeError: Cannot read properties of undefined (reading 'then')
at app.loadGraphData (group_assistant.js:882:29)
at openWorkflow (workflowService.ts:184:15)
at loadNextOpenedWorkflow (workflowService.ts:376:13)
at Object.closeWorkflow (workflowService.ts:230:13)
at closeWorkflows (WorkflowTab.vue:129:36)
at onCloseWorkflow (WorkflowTab.vue:141:9)
at WorkflowTab.vue:174:2
at n..n. (vue.esm-browser.prod.js:5:95672)
at t3 (vue.esm-browser.prod.js:5:21395)
at t6 (vue.esm-browser.prod.js:5:21463)
(匿名) @ vue.esm-browser.prod.js:5
t4 @ vue.esm-browser.prod.js:5
(匿名) @ vue.esm-browser.prod.js:5
compositor3.js:290 graphChangedHandler Arguments(1)
index.js:14 Parameter defaultValue is deprecated. The default value in settings definition will be used instead.
console.warn @ index.js:14
getSettingValue @ settings.ts:58
keyListener @ image_chooser.js:46
index.js:14 Parameter defaultValue is deprecated. The default value in settings definition will be used instead.
console.warn @ index.js:14
index.js:14 Parameter defaultValue is deprecated. The default value in settings definition will be used instead.
console.warn @ index.js:14

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-5286-After-the-workflow-is-half-closed-the-taskbar-still-has-a-label-for-the-residual-work-2606d73d36508112a1a1e0ccc4a9a631) 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.