Skip to content

Fix Windows desktop window controls with native decorations - #2588

Closed
PabloValencia14 wants to merge 1 commit into
maxrave-dev:devfrom
PabloValencia14:fix/windows-native-window-chrome
Closed

PabloValencia14 wants to merge 1 commit into
maxrave-dev:devfrom
PabloValencia14:fix/windows-native-window-chrome

Conversation

@PabloValencia14

@PabloValencia14 PabloValencia14 commented Oct 1, 2026 •

Copy link
Copy Markdown

What & why

Closes #2589

On Windows, the main window was transparent and undecorated, using macOS-like custom controls and manual dragging. Existing VM probing limited the native fallback. This change uses a native, opaque, decorated main window on Windows, preserves the Linux native frame and canvas workaround and macOS custom chrome, removes obsolete Windows VM shell probes, keeps chrome visibility and rounded clipping consistent, and updates screen-height guidance and minimal Windows launch documentation.

Linked issue

Closes #2589

Checklist

  • This PR addresses an accepted issue (linked above) — issue Windows desktop uses custom macOS-like controls and resizes incorrectly across monitors #2589 is newly filed and awaiting maintainer acceptance.
  • I wrote or personally reviewed every line of this change
  • I tested it on Android and/or Desktop (say which, and how) — Desktop (Windows): :desktopApp:compileKotlinJvm passed; launched the actual desktop app and confirmed the UI and functionality; exercised native window/client geometry and DPI transitions across three displays at 96, 120, and another differing DPI, including resize, maximize, and restore. No Android testing. Rendered Compose pixels were not individually checked. AI assistance was used; I personally reviewed every line of this change.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Thanks for the PR! Please complete the pull request template — in particular the checkbox confirming you wrote or personally reviewed every line, and the issue this change addresses. It helps us tell real contributions from the flood of auto-generated ones. Edit your PR description; no need to open a new PR.

@github-actions github-actions Bot added the needs-template PR template incomplete — see the triage comment label Oct 1, 2026
@maxrave-dev maxrave-dev closed this Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-template PR template incomplete — see the triage comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows desktop uses custom macOS-like controls and resizes incorrectly across monitors

2 participants