Skip to content

fix: correct window sizing on Linux when constraints on resizability are enforced#49971

Merged
codebytere merged 1 commit into
41-x-yfrom
trop/41-x-y-bp-fix-correct-window-sizing-on-linux-when-constraints-on-resizability-are-enforced-1772213610724
Mar 2, 2026
Merged

fix: correct window sizing on Linux when constraints on resizability are enforced#49971
codebytere merged 1 commit into
41-x-yfrom
trop/41-x-y-bp-fix-correct-window-sizing-on-linux-when-constraints-on-resizability-are-enforced-1772213610724

Conversation

@trop
Copy link
Copy Markdown
Contributor

@trop trop Bot commented Feb 27, 2026

Backport of #49903

See that PR for details.

Notes: Fixed window sizing on Linux when min/max size constraints are set or resizable is false. Windows no longer shrink below the requested max size or grow taller when resizability is disabled.

…are enforced (#49903)

* fix window sizing on linux when constraints are applied

* added tests

* apply window style directly when changing resizability

* Revert "apply window style directly when changing resizability"

This reverts commit 949e2ee.

* set size constraints for resizability on window and linux

Co-authored-by: Mitchell Cohen <mitch.cohen@me.com>
@trop trop Bot requested a review from a team February 27, 2026 17:33
@trop trop Bot added 41-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Feb 27, 2026
@codebytere codebytere merged commit 520d317 into 41-x-y Mar 2, 2026
112 of 114 checks passed
@codebytere codebytere deleted the trop/41-x-y-bp-fix-correct-window-sizing-on-linux-when-constraints-on-resizability-are-enforced-1772213610724 branch March 2, 2026 09:14
@release-clerk
Copy link
Copy Markdown

release-clerk Bot commented Mar 2, 2026

Release Notes Persisted

Fixed window sizing on Linux when min/max size constraints are set or resizable is false. Windows no longer shrink below the requested max size or grow taller when resizability is disabled.

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

Labels

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