Repository navigation
chore: cherry-pick 2ed58f4 from chromium - #33109
Conversation
491fa87 to
2e3afb7
Compare
2e3afb7 to
e054ed9
Compare
ckerr
left a comment
There was a problem hiding this comment.
LGTM. This has one upstream approval already so we may wind up backing this out of main after a future roll, but landing in main here lets trop do its thing
|
@ckerr, it's been merged upstream, so yea, it will come out in a future roll. For context, I was the upstream issue reporter and ran it down. I also liberally applied the target labels here, so feel free to trim them back, but it feels low risk and isolated to backport. 🙂 |
|
Release Notes Persisted
|
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: #33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]>
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: #33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]>
|
I have automatically backported this PR to "14-x-y", please check out #33247 |
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: #33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]>
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: #33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]>
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: #33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]>
|
I have automatically backported this PR to "16-x-y", please check out #33249 |
|
I have automatically backported this PR to "18-x-y", please check out #33250 |
|
I have automatically backported this PR to "17-x-y", please check out #33251 |
* chore: cherry-pick 2ed58f4 from chromium (#33109) Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: #33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]> * chore: update patches Co-authored-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: #33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]>
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: #33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]> Co-authored-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]>
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: #33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]> Co-authored-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]>
* chore: cherry-pick 2ed58f4 from chromium (#33109) Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: #33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]> * chore: update patches Co-authored-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]> Co-authored-by: Cheng Zhao <[email protected]> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
* chore: cherry-pick 2ed58f4 from chromium (#33109) Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: #33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]> * Trigger Build * chore: update patches Co-authored-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]> Co-authored-by: John Kleinschmidt <[email protected]> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: electron#33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]>
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658 Fixes: electron#33049 Signed-off-by: Darshan Sen <[email protected]> Co-authored-by: Charles Kerr <[email protected]>
Description of Change
Subject: [PATCH] Remove incorrect width/height adjustments
In late 2016 a change which fixed some problems around window sizing
when attaching or detaching additional displays was landed, which fixed
some genuine bugs. Unfortunately it included a subtraction of 1 from the
width and height of the Chrome window. I couldn't find any discussion of
this size adjustment and I think that it was just a misunderstanding of
how window rectangles work (inclusive versus exclusive extents).
This size adjustment causes non-maximized Chrome windows to shrink every
time a monitor is added or removed. The problematic commit was found
by the bug-filer through a bisect of more than four years of Chrome
history - I'm just landing the fix that they suggested.
Bug: 1300415
Change-Id: Ief124f584a91aa9cc3f10704b0cc1e83356dea5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3492658
Reviewed-by: Allen Bauer [email protected]
Commit-Queue: Bruce Dawson [email protected]
Cr-Commit-Position: refs/heads/main@{#975872}
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/3492658
Fixes: #33049
Signed-off-by: Darshan Sen [email protected]
Release Notes
Notes: Fixes an issue where adding/removing display changes the BrowserWindow size.