Skip to content

[Bug]: Right sidebar opens below the titlebar on landing / settings / tasks views #1354

Closed

Description

@leynier

Short summary

When the right sidebar is opened from the landing screen (no worktree selected) - and from the settings and tasks views - its column starts ~42px below the top of the window, sitting beneath the full-width titlebar instead of aligning with it.

As soon as a worktree is selected (workspace view, with a terminal), the right sidebar snaps into the correct position: its own 42px header anchors at y=0, in line with the rest of the chrome.

What I expected

The right sidebar should anchor at the top of the window (its 42px header at y=0) regardless of whether the user is on the landing screen, settings, tasks, or workspace view - i.e., it should look like the workspace-view screenshot in every view.

What actually happens

On landing / settings / tasks, the full-width titlebar covers the top of the window across the whole window width - including over the right-sidebar column - so the right sidebar's own header is pushed down by 42px.

Reproduction

  1. Open Orca with no worktree selected (landing screen).
  2. Click the right sidebar toggle in the top-right of the titlebar to open the right sidebar.
  3. Observe: the right sidebar's icon row appears ~42px below the top of the window, with the dark titlebar visible above it.
  4. Now select any worktree so a terminal opens.
  5. Observe: the right sidebar suddenly aligns at y=0, with its own header replacing the titlebar on its side.

Screenshots

Bug - landing view, right sidebar opens below the titlebar:

Image

Expected - workspace view with a terminal, right sidebar at the top:

Image

Likely root cause

In src/renderer/src/App.tsx (around lines 938–1078) the shell is built as a flex-col where the full-width .titlebar is rendered above the inner flex-row that hosts <RightSidebar />. Because the titlebar spans the entire window width, it sits over the right sidebar's column too, so the right sidebar's own 42px header (src/renderer/src/components/right-sidebar/index.tsx:305 / :319) ends up at y≈42px instead of y=0.

When workspaceActive (App.tsx:535 - activeView !== 'settings' && activeWorktreeId !== null) becomes true, the full-width titlebar is dropped and each column gets its own 42px header strip, so everything aligns at y=0. That's why opening a worktree (which usually auto-spawns a terminal) appears to "fix" the layout.

Environment

  • OS: macOS
  • Orca version: v1.3.30-rc.0
  • Branch: main

Activity

  1. added
    good first issue
    help wanted
    on May 3, 2026
  2. added a commit that references this issue on May 5, 2026
    09384a6
  3. added a commit that references this issue on May 5, 2026
    14e879a
  4. added theissue type on Jul 12, 2026
  5. added a commit that references this issue on Oct 15, 2026
    39a069c
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

    good first issuehelp wanted

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions