Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't call SetBounds on restore #19886

Merged
merged 1 commit into from
Aug 26, 2019

Conversation

brenca
Copy link
Contributor

@brenca brenca commented Aug 22, 2019

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 in the last 24 hours and removed new-pr 🌱 PR opened in the last 24 hours labels Aug 22, 2019
Copy link
Member

@ckerr ckerr left a comment

Choose a reason for hiding this comment

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

LGTM.

@zcbenz
Copy link
Member

zcbenz commented Aug 26, 2019

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
Copy link
Contributor Author

brenca commented Aug 26, 2019

@zcbenz I resolved the conflict!

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

release-clerk bot commented Aug 26, 2019

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
Copy link
Contributor

trop bot commented Aug 26, 2019

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

@trop
Copy link
Contributor

trop bot commented Aug 26, 2019

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

@sofianguy sofianguy added this to Fixed in 6.0.5 in 6.1.x Aug 30, 2019
@sofianguy sofianguy added this to Fixed in 7.0.0-beta.4 in 7.2.x Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
6.1.x
Fixed in 6.0.5
7.2.x
Fixed in 7.0.0-beta.4
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