Skip to content

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

Merged
jkleinsc merged 1 commit into
electron:42-x-yfrom
mitchchn:inflate-constraints-by-insets-windows
Jul 16, 2026
Merged

jkleinsc merged 1 commit into
electron:42-x-yfrom
mitchchn:inflate-constraints-by-insets-windows

Conversation

@mitchchn

@mitchchn mitchchn commented Jul 16, 2026 •

Copy link
Copy Markdown
Member

Manual backport of #51562.

See that PR for details.

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

@mitchchn
mitchchn requested review from a team as code owners July 16, 2026 08:02
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jul 16, 2026
@trop trop Bot added 42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Jul 16, 2026
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Jul 16, 2026
@mitchchn
mitchchn force-pushed the inflate-constraints-by-insets-windows branch from 2add82e to c639b98 Compare July 16, 2026 08:16
@mitchchn

Copy link
Copy Markdown
Member Author

This is safe to backport now thanks to the Chromium patch backport: #51622.

@mitchchn mitchchn changed the title fix: frameless window shrinks on maximize() when compositor declines fix: frameless windows do not shrink after constraints are applied on Windows Jul 16, 2026
@jkleinsc
jkleinsc merged commit 8e51053 into electron:42-x-y Jul 16, 2026
121 of 124 checks passed
@release-clerk

release-clerk Bot commented Jul 16, 2026

Copy link
Copy Markdown

Release Notes Persisted

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

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

Labels

42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants