-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Description
Summary
show_text_party.notify() writes node["widgets_values"] = [text] directly.
In practice, this can leave stale stacked output in the Show Text UI after repeated runs / node recreation workflows.
Why this likely happens
show_text_partyis intentionally list-aware (INPUT_IS_LIST = True,OUTPUT_IS_LIST = (True,)), sotextcan be a list payload.- The current code writes the incoming object directly into
widgets_valueswithout resetting state. - Reusing mutable values here can keep stale visual content in the widget.
Expected behavior
Show Text should reflect only current execution output, while preserving list semantics (no forced scalar conversion).
Suggested fix
In show_text_party.notify():
- clear previous widget content,
- write a deep-copied current value.
This keeps list behavior intact and prevents stale content artifacts in UI.
(Reference context: Comfy list-processing semantics are explicitly documented for INPUT_IS_LIST / OUTPUT_IS_LIST in Comfy's node typing and docs links.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels