diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsx
index d1fe0e8bd60..d886527b31c 100644
--- a/src/renderer/src/App.tsx
+++ b/src/renderer/src/App.tsx
@@ -728,8 +728,14 @@ function App(): React.JSX.Element {
// the sidebar-width left header (workspace view) can share the same
// controls without duplicating the agent badge popover.
const titlebarLeftControls = (
-
-
+ // Why: measure the ENTIRE row (traffic-light pad + sidebar toggle + agent
+ // badge + back/forward group) so the sidebar-collapse spacer in
+ // TabGroupPanel reserves enough width to clear the full floating
+ // `titlebar-left`. Measuring only the inner control cluster left the
+ // back/forward arrows hanging over the first tab when the sidebar was
+ // collapsed (Cmd+B), producing a half-occluded, non-scrollable tab strip.
+
+
{showSidebar && (
@@ -861,9 +867,7 @@ function App(): React.JSX.Element {
{/* Why: Back/Forward navigate worktree-activation history. Only
meaningful while viewing a worktree (terminal view); hidden in
Settings/Tasks/Landing to keep the titlebar compact and the
- semantics unambiguous. The group sits outside the measured inner
- container so the sidebar-collapse spacer stays sized to the left
- controls only. */}
+ semantics unambiguous. */}
{activeView === 'terminal' && (
@@ -987,7 +991,13 @@ function App(): React.JSX.Element {
className={`flex min-h-0 flex-col shrink-0${sidebarOpen ? '' : ' relative w-0 overflow-visible'}`}
>