You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Restart replaces the focused pane with the New thread composer instead of adding it beside the restored panes #2919
I quit bb (Cmd+Q) with three or four panes open, some with work in progress, and open it again.
What happens today
The panes come back, but the first (focused) one is replaced by the New thread composer. The thread I left there is gone from the workspace and I have to find it in the sidebar again. I never closed it.
Why: the app opens on the root route, and on that route SplitThreadArea reconciles the restored layout against { kind: "new-thread" } (SplitThreadArea.tsx#L282-L289). A restored layout has no composer pane, so reconcileLayoutForContent takes its last branch and replaces the focused pane (splitThreadNavigation.ts#L105-L125). That rule is right for navigation (archive a thread, land on the composer in its pane); on load it silently closes a pane the person chose to keep.
What you would expect
Restoring keeps every saved pane, and the composer opens as a new pane to the right of them. Opening on the composer is welcome (limits and recents are useful at a glance); replacing a pane is not. Closing that pane stays the person's decision.
The first reconcile after mount uses an on-load variant that splits the composer in to the right of the rightmost pane (bounded by MAX_PANES); every later reconcile and every other content kind keep the current rules.
Activity
bb-slop-cop commentedon Sep 2, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotBug· PriorityMedium· EffortLow· labelsui,confirmed-reproREPRODUCED· confidencehighconfirmed-reproPreserve restored panes during startup reconciliation (#2921)
Revert startup pane reconciliation so handoff does not open a new spl…