Skip to content

fix: frameless windows do not shrink after constraints are applied on Windows - #51499

Closed
mitchchn wants to merge 2 commits into
electron:mainfrom
mitchchn:external-resize-handle-constraint-followups
Closed

mitchchn wants to merge 2 commits into
electron:mainfrom
mitchchn:external-resize-handle-constraint-followups

Conversation

@mitchchn

@mitchchn mitchchn commented May 5, 2026 •

Copy link
Copy Markdown
Member

Description of Change

Fixes #51465.

I am backporting a Chromium CL to handle insets more consistently which I expect to be merged soon: https://chromium-review.googlesource.com/c/chromium/src/+/7795073.

That CL will also replace an older patch, which I removed.

(Reopened from #51498 — the previous PR was closed automatically when the source branch was renamed to fix a typo.)

For 41.x, 42.x

Checklist

Release Notes

Notes: Fixed an issue where frameless windows windows could shrink after applying constraints or toggling resizability on Windows.

@mitchchn
mitchchn requested a review from a team as a code owner May 5, 2026 14:52
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label May 5, 2026
@mitchchn
mitchchn force-pushed the external-resize-handle-constraint-followups branch from 15ad1ae to a4bf808 Compare May 5, 2026 22:22
@mitchchn

mitchchn commented May 8, 2026

Copy link
Copy Markdown
Member Author

@mitchchn

mitchchn commented May 8, 2026

Copy link
Copy Markdown
Member Author

I'm going to redo this now that the CL is in main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-pr 🌱 PR opened recently

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Electron window changes size when moving after using setResizable

1 participant