Repository navigation
Description
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
mainat6084f894305e389604ce19b1cace442b0fc25bad
Steps to reproduce
- 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. - Keep the main timeline scrolled to the bottom while the run is active.
- 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
AutoHeightContainergives supported fine-pointer browsers a 180 ms height transition and applies it to every observed timeline height update in the shared resize callback.- The active thread wraps the complete top-level row list in that container in
ThreadTimelineRows. - The main scroller responds to the intermediate resize notifications by restoring the bottom immediately and for up to three animation frames in
BottomAnchoredScrollBody. - A 30-second
PerformanceObservertrace recorded repeatedlayout-shiftentries sourced from each newly inserted command row while the outer timeline height interpolated. - Project history already uses snap synchronization for the same interaction between timeline height easing and scroll correction during load, row expansion, resize bursts, and tab restoration. PR Snap timeline height tweens and trim paint work on phones (C2, F1, D9, C10, F2, E2) #1880 intentionally retained easing for fine-pointer browsers.
- Originating investigation: bb thread
thr_9n77sbx577.
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: falsesetting. - Still reproduces in the latest desktop release and on
mainat6084f894305e389604ce19b1cace442b0fc25bad. - 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
bb-slop-cop commentedon Sep 16, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotClassified 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.
Snap outer timeline growth while a thread is active (get-bb#3760)