Skip to content

Active timelines animate every height update, causing repeated main-panel jumps #3759

Closed

Description

@mjsz

Summary

While an active thread streams, the desktop main panel animates every timeline height increase over 180 ms. Bottom anchoring follows each intermediate height, so existing rows move in a visible staircase whenever streaming text wraps or a tool row appears. The bottom-anchored viewport should update once and remain visually stable.

Versions and environment

  • bb 0.43.1, desktop app
  • macOS 26.4
  • Codex provider in a project-checkout environment
  • Reproduced on main at 6084f894305e389604ce19b1cace442b0fc25bad

Steps to reproduce

  1. Open the bb desktop app and start a thread with the prompt Run six read-only shell commands, one at a time, and briefly report each result.
  2. Keep the main timeline scrolled to the bottom while the run is active.
  3. Watch the existing visible rows when streamed text wraps or each command row appears.

The movement reproduces with timeline windowing disabled, which is the default configuration.

Expected vs actual

Expected: The timeline applies each structural height update once. Bottom anchoring keeps the latest content visible without moving existing rows through intermediate positions.

Actual: Each height update runs a 180 ms transition, and bottom anchoring corrects the scroll position throughout that transition. One measured 30 px command-row addition produced this scroll staircase:

0 ms:   scrollTop 1394 px
185 ms: scrollTop 1408 px
202 ms: scrollTop 1415 px
218 ms: scrollTop 1419 px
235 ms: scrollTop 1421 px
251 ms: scrollTop 1422 px
268 ms: scrollTop 1423 px
318 ms: scrollTop 1424 px

Evidence

What you ruled out

  • Not Inline visualization loading causes a timeline layout jump #1837: that issue covered a one-time inline-visualization loader-to-preview geometry change; this reproduces on ordinary streaming text and command rows.
  • Not timeline virtualization: the reproduction uses the default timelineWindowing: false setting.
  • Still reproduces in the latest desktop release and on main at 6084f894305e389604ce19b1cace442b0fc25bad.
  • Sidebar changes appeared in the trace separately and do not account for the main-panel scroll staircase.

Suggested priority and effort

Medium priority, low effort. It affects routine active-thread viewing on desktop, does not lose work, and can be avoided by snapping outer timeline growth while a thread runs.

AGENT GENERATED

Activity

  1. added theissue type on Sep 16, 2026
  2. added
    threads
    confirmed-repro
    on Sep 16, 2026
  3. bb-slop-cop commented on Sep 16, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Classified Bug · Medium priority · Low effort; labels: threads, confirmed-repro.

    Reproduction report: REPRODUCED, high root-cause confidence. Active timelines retain outer height easing, so bottom anchoring follows intermediate heights. Repeated in two clean trusted checkouts using a failing regression test and real-component browser probes; packaged desktop/provider integration was not exercised.

    Opened ready PR #3760: 39 changed lines across three files. The regression now passes, all 110 relevant tests pass, and app typechecking passes. Not merged.

    AGENT GENERATED

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

    confirmed-reprothreads

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions