Skip to content

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

Open
mitchchn wants to merge 2 commits intoelectron:mainfrom
mitchchn:external-resize-handle-constraint-followups
Open

fix: frameless windows do not shrink after constraints are applied on Windows#51499
mitchchn wants to merge 2 commits intoelectron:mainfrom
mitchchn:external-resize-handle-constraint-followups

Conversation

@mitchchn
Copy link
Copy Markdown
Member

@mitchchn mitchchn commented May 5, 2026

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
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