6 months ago
17928b8The sidebar separators were still interactive in the browser-shell path, but they never opted out of Electron drag regions. That left the left rail vulnerable once more native titlebar drag surfaces were introduced, which matches the reported desktop-only regression more closely than any store or layout failure. This change gives the resize separators an explicit native no-drag contract and adds regression coverage for both the left sidebar and context sidebar rails so future chrome work cannot silently re-break them. Constraint: Electron titlebar overlays use native drag regions that can swallow pointer interaction unless controls explicitly opt out Rejected: Broaden the hit target or rewrite the sidebar layout first | browser-shell drag already works, so the higher-probability regression is native drag handling rather than geometry Confidence: medium Scope-risk: narrow Reversibility: clean Directive: Keep resize separators in the explicit no-drag set whenever desktop chrome or titlebar drag surfaces change Tested: bun test apps/desktop/test/sidebar-resizer.test.tsx apps/desktop/test/context-sidebar.test.tsx; bun run typecheck:desktop; bun test Not-tested: live Electron drag verification on a native window manager in this headless session
Parentef86365