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: crash when restoring minimized hidden window #21813

Merged
merged 1 commit into from Jan 17, 2020

Conversation

zcbenz
Copy link
Member

@zcbenz zcbenz commented Jan 17, 2020

Description of Change

Close #21614.

When invoking SetWindowPlacement in PreHandleMSG it would trigger window message proc in Chromium, and then crash under some cases because Chromium does not expect its window message proc to be called in the PreHandleMSG hook.

Checklist

Release Notes

Notes: Fix crash when restoring minimized hidden window on Windows.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jan 17, 2020
Copy link
Member

@codebytere codebytere left a comment

Choose a reason for hiding this comment

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

seems straightforward to me - lgtm

Copy link
Member

@deepak1556 deepak1556 left a comment

Choose a reason for hiding this comment

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

Verified not to regress any previous behaviors.

@zcbenz what about 6-1-x ?

@deepak1556 deepak1556 merged commit 42d8933 into master Jan 17, 2020
@release-clerk
Copy link

release-clerk bot commented Jan 17, 2020

Release Notes Persisted

Fix crash when restoring minimized hidden window on Windows.

@trop
Copy link
Contributor

trop bot commented Jan 17, 2020

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

@trop
Copy link
Contributor

trop bot commented Jan 17, 2020

I have automatically backported this PR to "8-x-y", please check out #21821

@deepak1556 deepak1556 deleted the fix-crash-win-min-restore branch January 17, 2020 19:29
@zcbenz
Copy link
Member Author

zcbenz commented Jan 20, 2020

/trop run backport-to 6-1-x

@trop
Copy link
Contributor

trop bot commented Jan 20, 2020

The backport process for this PR has been manually initiated -
sending your commits to "6-1-x"!

@trop
Copy link
Contributor

trop bot commented Jan 20, 2020

I was unable to backport this PR to "6-1-x" cleanly;
you will need to perform this backport manually.

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jan 20, 2020
@trop
Copy link
Contributor

trop bot commented Feb 11, 2020

@codebytere has manually backported this PR to "6-1-x", please check out #22153

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.

Crash when showing a hidden window
3 participants