Skip to content

Companion App: Chat bubble text truncation — lines cut off mid-display #1362

Closed

Description

@Speculorum9

Description

Chat messages in the Companion App chat bubble are truncated, cutting off text mid-sentence. Full content appears in logs and the browser Console, confirming this is a Windows Companion rendering issue.

Steps to reproduce

  1. Open the Companion App
  2. Send a multi-line or long message
  3. View it in the chat bubble

Expected behavior

Full text with proper wrapping.

Actual behavior

Text is cut off mid-line.

Environment

  • OS: Windows 11 Home
  • Companion App version: 2026.7.1-4
  • OpenClaw version: 2026.9.2
  • Gateway: WSL2

Additional context

Activity

  1. added
    P2
    impact:ux-friction
    issue-rating: 🦪 silver shellfish
    on Sep 8, 2026
  2. clawsweeper commented on Sep 8, 2026

    @clawsweeper

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed September 11, 2026, 12:20 PM ET / 16:20 UTC.

    Summary
    Keep open: the screenshots substantiate clipped assistant list items, and the upstream fix has shipped in Reactor preview.15. Current main still consumes preview.14, so the Companion integration remains necessary.

    Reproducibility: yes. source inspection establishes a focused reproduction: render a long plain or bold Markdown bullet through the current native assistant renderer at constrained width. Reporter screenshots and upstream native reproduction corroborate it; this review did not execute current main.

    Root-cause cluster
    Relationship: canonical
    Canonical: #1362
    Summary: This issue tracks the remaining Companion integration; the earlier similar repair targeted a different renderer.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Next step
    The source-proven defect has a released upstream repair and no identified open integration PR; coordinate the focused adoption with the current active owner.

    Review details

    Best possible solution:

    Consume the fixed Reactor release in both packages and protect complete list wrapping through the production native renderer, without adding a parallel app-specific renderer.

    Do we have a high-confidence way to reproduce the issue?

    Yes, source inspection establishes a focused reproduction: render a long plain or bold Markdown bullet through the current native assistant renderer at constrained width. Reporter screenshots and upstream native reproduction corroborate it; this review did not execute current main.

    Is this the best way to solve the issue?

    Yes, adopting the upstream finite-width list layout is the narrowest maintainable repair. The old FunctionalUI fix is outside the current production rendering path.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • The fixed dependency still needs native Companion validation; upstream geometry checks do not establish behavior inside the application's complete chat layout.

    Codex review notes: model internal, reasoning medium; reviewed against c71121cdcdc9.

    Label changes

    Label changes:

    • add issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label.
    • add clawsweeper:source-repro: Current issue advisory state selects this label.
    • add clawsweeper:queueable-fix: Current issue advisory state selects this label.
    • add clawsweeper:fix-shape-clear: Current issue advisory state selects this label.
    • remove issue-rating: 🦪 silver shellfish: Current issue advisory state no longer selects this label.

    Label justifications:

    • P2: Assistant list content is visibly clipped in Companion, while the corresponding Console view remains usable.
    • impact:ux-friction: Users must consult another surface to read the full assistant response.
    Evidence reviewed

    Acceptance criteria:

    • ./build.ps1
    • dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore
    • dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore
    • dotnet test ./tests/OpenClaw.Tray.UITests/OpenClaw.Tray.UITests.csproj -p:Platform=x64
    • Establish failing-before and passing-after long-list geometry through the production native renderer.

    What I checked:

    Likely related people:

    • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
    • karkarl: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    • bkudiess: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  3. Speculorum9 commented on Sep 9, 2026

    @Speculorum9
    Author

    Added 2 examples for evidence: Two screen snapshots (one each from Console and Companion App) showing text truncation in chat bubble. Message is cut off mid-sentence ('...Don't force Haiku through complex cha') but the full text is intact in the backend and displays correctly in the Console web interface ("...Don't force Haiku through complex chains. It will hiccup and create instability. Switch models explicitly before starting setup work.").
    This confirms the issue is rendering-specific to the Windows Companion App.

    Also worth noting: the Companion app window was maximized when truncation occurred.

  4. Speculorum9 commented on Sep 9, 2026

    @Speculorum9
    Author

    Example 1: Companion App vs Console:
    Image

    Image

    Example 2: Companion App vs. Console:

    Image Image
  5. moved this from Backlog to UX in Windows Companion Appon Sep 10, 2026
  6. added
    status: 🚢 actively landing
    on Sep 11, 2026
  7. added
    clawsweeper:fix-shape-clear
    clawsweeper:queueable-fix
    clawsweeper:source-repro
    issue-rating: 🦞 diamond lobster
    no-stale
    and removed
    issue-rating: 🦪 silver shellfish
    on Sep 11, 2026
  8. locked as resolved and limited conversation to collaborators on Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2clawsweeper:fix-shape-clearclawsweeper:queueable-fixclawsweeper:source-reproimpact:ux-frictionissue-rating: 🦞 diamond lobsterno-stalestatus: 🚢 actively landing

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions