Skip to content

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

Description

@Stibo

Custom Node Testing

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugUser is reporting a bug. This should be tested.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions