Comfy-Org / Comfy-Org/ComfyUI

More complex promoted widgets in subgraphs are no longer correctly displayed in latest version

Open
#13,326 3 comments 0 reactions 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

Promoted subgraph widgets like "lora_1" etc. from "Power Lora Loader" by rgthree are normally displayed on the subgraph.

### Actual Behavior

Promoted subgraph widgets like "lora_1" etc. from "Power Lora Loader" by rgthree take up space but are "invisible".

### Steps to Reproduce

There are other widgets affected, but I use Power Lora Loader by rgthree as a sample here:

1. Be sure you have at least ComfyUI 0.18.1 with frontend version 1.42.8
2. Add a Power Lora Loader node
3. Convert the node to a subgraph
4. Edit promoted subgraph widgets
5. Promote "lora_1", "lora_2", "lora_3" widgets to the subgraph (how many is not important)
6. Look at the subgraph and see that there is something invisible taking space

### Debug Logs

```powershell
No error occures, just a visual rendering issue.
```

### Other

I don't know since when this issue persist, I skipped a few versions and firstly saw the issue with ComfyUI 0.18.1 with frontend version 1.42.8:

Image

Most of the "normal" widgets work as expected. More complex nodes like Power Lora Loader are a problem. In my extension (https://github.com/Stibo/comfyui-nifty-nodes) I had the same issue with a special node, but I was able to fix it more or less hacky.

Multiling String nodes have some issues too, if they are promoted and then collapsed, the multiline string widget disappears from the subgraph (maybe just invisible too).

I think there is a general issue with the widget rendering in the above mentioned versions.

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.