Skip to content

show_text_party can show stale stacked blocks when UI text keeps list payload #232

@iqdoctor

Description

@iqdoctor

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_party is intentionally list-aware (INPUT_IS_LIST = True, OUTPUT_IS_LIST = (True,)), so text can be a list payload.
  • The current code writes the incoming object directly into widgets_values without 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():

  1. clear previous widget content,
  2. 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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions