Skip to content

fix(desktop): keep the window draggable in settings - #1162

Merged
nixuuu merged 1 commit into
devfrom
fix/windows-settings-window-drag
Nov 23, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/windows-settings-window-drag

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 23, 2026

Copy link
Copy Markdown
Member

Cause and fix

Windows and Linux use a renderer-drawn title bar. Opening Settings makes the underlying page inert and removes its drag regions. The Settings dialog has its own drag region, while the window's usual top strip has none.

Keep a native drag strip at the top of the window while Settings is the active modal. It ends before the window buttons and is suspended by nested modals, popovers that normally suspend dragging, and fullscreen. The dialog and backdrop still control input and focus.

Thanks to @mikuyeyu for reporting this.

Fixes: #102

Verification

  • Locally on Linux, Electron 45.4.1 with the Canopy renderer. Reproduced on 3ecbde88: dragging at the top did not move the window with Settings open, while the dialog header moved it. On 2ab71386, both areas move the window and keep Settings open. Tested focus and Escape, nested modal, backdrop dismissal, Close settings, and dragging, maximizing and restoring after closing Settings.
  • On the same Linux runtime, the renderer's Windows CSS path at 900 px passed window movement and modal/close checks. Chrome without the desktop bridge kept Settings modal and restored focus on Escape. Native Windows behavior was not exercised.
  • Web typecheck, targeted lint, formatting, and diff check passed locally. The repository-wide gate runs in CI.

@nixuuu
nixuuu enabled auto-merge (squash) November 23, 2026 15:06
@nixuuu
nixuuu merged commit 82b9254 into dev Nov 23, 2026
8 checks passed
@nixuuu
nixuuu deleted the fix/windows-settings-window-drag branch November 23, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant