Skip to content

fix: don't call SetBounds on restore - #19886

Merged
codebytere merged 1 commit into
masterfrom
brenca/unresizable-window-sizing-fix
Aug 26, 2019
Merged

codebytere merged 1 commit into
masterfrom
brenca/unresizable-window-sizing-fix

Conversation

@brenca

@brenca brenca commented Aug 22, 2019 •

Copy link
Copy Markdown
Contributor

Description of Change

This is a revert of #8047, the issues mentioned there are not reproducible after the revert (in fact #7951 resurfaced, and this fixes that). Since the issue mentioned in the comments (#2498) is about frameless window sizing and the PR I created to improve that landed in 6-0-x, I'm only backporting until that to make sure not to re-introduce the original bug.

Fixes #13043.
Fixes #16900.

Checklist

Release Notes

Notes: Fix a bug where an unresizable window would shrink when restored after being minimized on Windows.

@electron-cation electron-cation Bot added new-pr 🌱 PR opened recently and removed new-pr 🌱 PR opened recently labels Aug 22, 2019

@ckerr ckerr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@zcbenz

zcbenz commented Aug 26, 2019

Copy link
Copy Markdown
Contributor

There is conflict needs to be resolved.

@brenca
brenca force-pushed the brenca/unresizable-window-sizing-fix branch from 9f50ea1 to eb31741 Compare August 26, 2019 13:25
@brenca

brenca commented Aug 26, 2019

Copy link
Copy Markdown
Contributor Author

@zcbenz I resolved the conflict!

@codebytere
codebytere merged commit d04072d into master Aug 26, 2019
@release-clerk

release-clerk Bot commented Aug 26, 2019

Copy link
Copy Markdown

Release Notes Persisted

Fix a bug where an unresizable window would shrink when restored after being minimized on Windows.

@codebytere
codebytere deleted the brenca/unresizable-window-sizing-fix branch August 26, 2019 21:04
@trop

trop Bot commented Aug 26, 2019

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "6-0-x", please check out #19956

@trop

trop Bot commented Aug 26, 2019

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "7-0-x", please check out #19957

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Window height shrinking after being restored Window size changes when being moved if resizable is false

4 participants