Skip to content

fix: ensure stable bounds on Windows when toggling setResizable for frameless windows - #51427

Merged
ckerr merged 1 commit into
electron:41-x-yfrom
mitchchn:manual-bp/mitchchn/pr/51252/branch/41-x-y
May 1, 2026
Merged

ckerr merged 1 commit into
electron:41-x-yfrom
mitchchn:manual-bp/mitchchn/pr/51252/branch/41-x-y

Conversation

@mitchchn

@mitchchn mitchchn commented May 1, 2026

Copy link
Copy Markdown
Member

Manual backport of #51252 to 41-x-y.

See that PR for details.

Notes: Fixed a regression on Windows where frameless windows changed their size after calling setResizable.

@mitchchn
mitchchn requested a review from a team May 1, 2026 00:34
@mitchchn
mitchchn requested review from a team as code owners May 1, 2026 00:34
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label May 1, 2026
@trop trop Bot added backport This is a backport PR main semver/patch backwards-compatible bug fixes labels May 1, 2026
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label May 1, 2026
@ckerr
ckerr changed the base branch from main to 41-x-y May 1, 2026 00:38
@trop trop Bot added the 41-x-y label May 1, 2026
@mitchchn mitchchn closed this May 1, 2026
@ckerr
ckerr removed request for a team May 1, 2026 00:39
@mitchchn mitchchn reopened this May 1, 2026
@ckerr

ckerr commented May 1, 2026

Copy link
Copy Markdown
Member

@mitchchn I have done that several times too

@nikwen

nikwen commented May 1, 2026

Copy link
Copy Markdown
Member

Right now, main and the release branches have different code formatting rules, so this needs a quick linter fix:

 /__w/electron/electron/src/electron/spec/api-browser-window-spec.ts
Error:   406:25  error  Missing space before function parentheses  space-before-function-paren

Comment thread spec/api-browser-window-spec.ts Resolved
@mitchchn
mitchchn force-pushed the manual-bp/mitchchn/pr/51252/branch/41-x-y branch from 1ced07d to 341f97c Compare May 1, 2026 01:51
@mitchchn
mitchchn requested review from a team as code owners May 1, 2026 01:51
@mitchchn
mitchchn force-pushed the manual-bp/mitchchn/pr/51252/branch/41-x-y branch from 341f97c to d0612e2 Compare May 1, 2026 01:54
@mitchchn
mitchchn force-pushed the manual-bp/mitchchn/pr/51252/branch/41-x-y branch from d0612e2 to 2ef12dd Compare May 1, 2026 02:02
@nikwen
nikwen removed request for a team May 1, 2026 02:05
@ckerr

ckerr commented May 1, 2026 •

Copy link
Copy Markdown
Member

Right now, main and the release branches have different code formatting rules, so this needs a quick linter fix:

 /__w/electron/electron/src/electron/spec/api-browser-window-spec.ts
Error:   406:25  error  Missing space before function parentheses  space-before-function-paren

@nikwen could you open a ticket about the formatting disparity between branches and assign it to me?

This has happened in a couple of different branches now ad a side-effect of switching to oxfmt and we should just fix it by having them all use identical style rules

ckerr
ckerr approved these changes May 1, 2026 •
@ckerr
ckerr merged commit 7f51178 into electron:41-x-y May 1, 2026
112 of 113 checks passed
@release-clerk

release-clerk Bot commented May 1, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed a regression on Windows where frameless windows changed their size after calling setResizable.

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 main semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants