Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Desktop chat timeline overlaps: mid-turn user message and "Working for…" pill render on top of a streaming tool-call group (regression of #1035) #12094

Closed01-1(GitHub profile, opens in a new tab) opened this issue 4 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop (Linux AppImage) — likely apps/web timeline rendering

Steps to reproduce

I have no idea, probably doing a mid turn bubble + expanding tool call group simultaeously

Expected behavior

Each timeline row reserves its own height. The tool-call group, the mid-turn user message, and the "Working for …" / "Running ssh" status line should stack vertically without overlapping.

Actual behavior

Rows are drawn on top of each other:

  • The mid-turn user bubble ("ca7d62b5 is not snake right?") renders directly over the tool-call command rows.
  • The "Working for 3m 46s" text and the "Running ssh" status line render on top of individual command lines inside the "Ran 10 commands" group, making both unreadable.
  • The earlier user message above the group is positioned fine; only content at/after the still-growing tool-call group is affected.

Same symptom as #1035 (closed as fixed by #1953 in April), so this appears to be a regression of that on desktop. The currently open mobile reports #10846, #11119 and #11992 describe the same overlap behaviour on iOS/Android.

Impact

Cosmetic issue

Version or commit

T3 Code 0.0.41-nightly.20260915.1766 (AppImage: T3-Code-0.0.41-nightly.20260915.1766-x86_64.AppImage)

Environment

Fedora 44, kernel 7.0.10-200.fc44.x86_64, Wayland session. Provider: Claude Code (Claude Opus 5, High · 200k, Full access). Local checkout environment.

Screenshot

Image

Workaround

Hiding and unhiding the tool call group fixes this

  1. Triage

    Confirmed on current main and shipping 0.0.42. This is a real web/desktop LegendList placement bug — same class as closed #1035, still present. Desktop mounts the same MessagesTimeline as web. Not a duplicate of #1035, and not already fixed by #1953 / later measurement work.

    What you reported. During a live turn with a streaming tool-call group, a mid-turn user message and the Working for… pill paint on top of that group instead of taking their own rows (Linux AppImage in your write-up; same timeline on web/desktop).

    What the code does. The chat list is LegendList at estimatedItemSize={90} with no getFixedItemSize. Rows are absolutely positioned (translateY). A following row whose predecessor is taller than the stored size paints on top of it — that is #1035’s failure mode.

    A steer (mid-turn user message that lands in the timeline while isWorking) does three things at once in deriveMessagesTimelineRows:

    1. Moves the Working pill. activeTurnHeaderIndex is lastUserMessageIndex + 1. The pill keeps id working-indicator-row and jumps from above the live tools to immediately before the new user row.
    2. Re-keys the live tool header. Trailing in-progress tools use id: "live-activity-row". After the header index moves past them they become work-live:tool:<turn>:<call> — same group, new key, remount, estimate 90.
    3. Inserts the user row after that group. An expanded group’s details row can be up to ~288px tall. Parent extraData is only `${listIdentityKey}:${rows.length}` — streaming more tools does not bump it.

    So the splice that places Working for… + the mid-turn user message often runs against a stale or 90px size for a group that is already one or two viewports tall. LegendList then draws those rows at the wrong translateY.

    Default follow-up is queue, which appends trailing queued-message rows and does not move the Working pill. The title’s “mid-turn user message and Working for… pill” is the steer path (Settings → follow-ups → steer, or promote-queued-to-steer).

    • Closed #1035 / #1953 — same class (under-estimate); closed after LegendList migration; estimate is still 90 with no remasure for live tool growth.
    • Open #11190 — settled-turn fold labels at steers; does not remasure live rows. Do not attribute Closes #12094.
    • Open #10602 / #10773 — different ID-collision / composer-footer follow issues.
    • #11828 (other branch) — keep Working header on the initiating prompt; not on main; would not remasure the tool row anyway.
    • Mobile #10846 / #11119 / #11992 — same visual symptom on ThreadFeed, different list. Keep this as the desktop/web tracker.

    No open PR remasures a growing / re-keyed tool-call row before inserting the steer user row and moving working-indicator-row.

    Suggested fix

    1. Stable live-tool identity — do not flip live-activity-row → work-live:tool:… when a steer only moves activeTurnHeaderIndex.
    2. Remeasure the preceding work/details row before placing new tail rows; include a height signature in extraData, not only rows.length.
    3. Pin chrome row sizes (working, thinking, work-toggle, collapsed work-live); leave message / expanded-details measured.
    4. Do not treat “skip steer when placing the Working header” alone as the close — the overlap is the size cache.
    5. Tests: expand a live tool group past 90px, steer, assert the user row and working-indicator-row do not intersect the details row.

    Workaround

    Settings → Queue follow-ups (the default) so the Working pill stays put. Collapse the tool-call group, or leave and re-open the thread / resize the window, to force a remasure. Do not treat queue-mode or collapse as the product fix.

    If you still have the screenshot/clip from the live session, please attach it — especially whether the tool group was expanded and whether follow-ups were set to steer or queue.

  2. juliusmarminge added labelsbug

  3. juliusmarminge added labelsaccepted

  4. juliusmarminge added labelsvia-triage

  5. 01-1(GitHub profile, opens in a new tab)commented

    Please note the updated text, the previous text was wrong (llm generated)

  6. 01-1(GitHub profile, opens in a new tab)commented

    Btw, screenshot has been attached. I do not see the option to set follow ups to steer or queue and do not remember changing it.

    Note: This is a cosmetic issue, the llm wrongly categorized it as important The reproduction steps and workaround were also incorrect/made up.

  7. Edit: in this version there was no option to swap between steer and queue, but i think it said it was a queue

  8. juliusmarminge closed this

Sign in to join this conversation.