Repository navigation
[Bug]: Cant drag top bar of window (at least on 'what should we work on page') #13711
Description
Activity
- addedbugSomething is broken or behaving incorrectly.Something is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.Issue needs maintainer review and initial categorization.
on Sep 25, 2026 what a drag
Confirmed on desktop 0.0.42 and on current
main(ed809f7). Updating will not change this. The empty-project screen is the only workspace page that never installs a window drag region in the main pane.The red strip in your screenshot is the top of
NoProjectsHero("What should we work on?"). That view is a full-heightSidebarInsetwith the empty state filling it, and it has nodrag-region:On Windows and Linux the desktop window uses a hidden title bar plus
titleBarOverlay, so the window only moves where CSS sets-webkit-app-region: drag. The sidebar header is the only such region on this screen (SidebarChromeHeader). The wordmark inside it is a link, and links and buttons inside a drag region are explicitlyno-drag, which is why only the padding at the very top left still moves the window. Collapsing the sidebar (collapsible="offcanvas") slides that header off-screen and leaves no drag surface at all.Every other workspace header already opts in through
WorkspacePageHeader, which addsdrag-regionwhen running in Electron. That includes the no-active-thread empty state and the hosted "connect a computer" empty state. This page should use that same header.#6030 already describes this and adds an Electron-only titlebar spacer, but it still patches the old inline hero in
_chat.index.tsx. That hero now lives inNoProjectsHero.tsx, and the shared header isWorkspacePageHeader, so the pull request needs a rebase onto that instead of a second spacer component. The failed "Couldn't start a new thread" state in_chat.index.tsxhas the same missing header, on a screen this report does not hit.Workaround until that lands: drag from the empty padding in the sidebar title row, to the left of the wordmark. Keep the sidebar open.
Reacted by Michael Mitchell and Otavio Salvador- addedvia-triageFiled through npx t3 triageFiled through npx t3 triageand removedneeds-triageIssue needs maintainer review and initial categorization.Issue needs maintainer review and initial categorization.
on Sep 25, 2026 thats funny 6030 made crayon drawings just like mine
Before submitting
Area
apps/desktop
Steps to reproduce
start the app with no project
cant click and drag app window from red section
Expected behavior
i can click and drag around the window on my desktop
Actual behavior
i cant click and drag around the window on my desktop, except from very top left part
Impact
Minor bug or occasional failure
Version or commit
version 0.0.42
Environment
windows
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
No response