Skip to content

fix: handle WM_GETMINMAXINFO instead of letting chromium do it - #20001

Merged
ckerr merged 1 commit into
6-0-xfrom
brenca/restore-after-minimize-6-0-x
Aug 28, 2019
Merged

ckerr merged 1 commit into
6-0-xfrom
brenca/restore-after-minimize-6-0-x

Conversation

@brenca

@brenca brenca commented Aug 28, 2019

Copy link
Copy Markdown
Contributor

Backport of #19928

See that PR for details.

Notes: Fixed a bug where windows would sometimes shrink to 0 size after being restored on Windows.

* fix: remove WM_GETMINMAXINFO workaround since it's no longer needed

* fix: handle WM_GETMINMAXINFO ourselves

* fix: remove part of the chromium WM_GETMINMAXINFO handler
@brenca brenca added backport This is a backport PR 6-0-x labels Aug 28, 2019
@ckerr
ckerr merged commit fb82bfa into 6-0-x Aug 28, 2019
@release-clerk

release-clerk Bot commented Aug 28, 2019

Copy link
Copy Markdown

Release Notes Persisted

Fixed a bug where windows would sometimes shrink to 0 size after being restored on Windows.

@ckerr
ckerr deleted the brenca/restore-after-minimize-6-0-x branch August 28, 2019 14:32
@whyboris

Copy link
Copy Markdown

Thank you @brenca 🙇 Confirming that this bugfix, just released with Electron 6.0.6 closes my issue: #19816 🙇

@whyboris whyboris mentioned this pull request Aug 30, 2019
16 tasks done
deepak1556 added a commit that referenced this pull request Nov 15, 2019
codebytere pushed a commit that referenced this pull request Nov 18, 2019
* Revert "fix: handle WM_GETMINMAXINFO instead of letting chromium do it (#19928) (#20001)"

This reverts commit fb82bfa.

* fix: don't reset the width and height when correcting window placement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6-0-x backport This is a backport PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants