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: update normal bounds prior to minimizing #34473
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
codebytere
requested review from
jkleinsc,
zcbenz,
VerteDinde and
MarshallOfSound
June 8, 2022 08:27
codebytere
changed the title
fix: normal bounds update after resize/move
fix: update normal bounds prior to minimizing
Jun 8, 2022
codebytere
force-pushed
the
fix-normal-bounds-resize
branch
from
June 8, 2022 08:28
d5111a2
to
b8c9865
Compare
VerteDinde
approved these changes
Jun 8, 2022
zcbenz
approved these changes
Jun 9, 2022
Release Notes Persisted
|
This was referenced Jun 9, 2022
I have automatically backported this PR to "19-x-y", please check out #34484 |
I have automatically backported this PR to "18-x-y", please check out #34485 |
I have automatically backported this PR to "20-x-y", please check out #34486 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
Closes #34401.
Fixes an issue where normal bounds would not be appropriately updated if the user minimized via clicking on the minimize button as opposed to calling
BrowserWindow.minimize()
on macOS. This fixes that by updating the normal bounds value prior to window miniaturization in the NSWindow delegate.Checklist
npm test
passesRelease Notes
Notes: Fixed an issue where normal bounds would not be appropriately updated if the user minimized with the minimize button.