Comfy-Org / Comfy-Org/ComfyUI

Promoted widget canvas image preview inside subgraph disapears on tab / wf change

Open
#14,710 0 comments 1 reaction 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [x] 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 promoting widget canvas image preview inside (for KSampler) inside subgraph that widget is present in subgraph widget.

### Actual Behavior

When promoting widget canvas image preview inside (for KSampler) inside subgraph that widget is not always present, it disappears when changing workflow tab or doing changes inside subgraph.

### Steps to Reproduce

Create subgraph with KSampler -> promote canvas image (options available only after first generation, at least on my side) -> go out of subgraph and confirm if image preview widget is visible
Add new workflow in Comfy or change tab to other workflow and go back to original
Preview widget is not visible in subgraph.

### Debug Logs

```powershell
N/A Ui issue
```

### Other

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by creating a subgraph with KSampler, promoting the canvas image preview after a generation, then switching workflow tabs or editing the subgraph. Start by tracing how the promoted widget is restored when returning to the workflow; no file or test is named in the report. Done means the preview remains visible after those tab and subgraph changes.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.