Issue metadata
Sign in to add a comment
|
Regression : [Mac] Page appears chopped after minimizing and maximizing chrome.
Reported by
avsha...@etouch.net,
Jan 31 2018
|
||||||||||||||||||||||
Issue descriptionChrome Version : 66.0.3335.0 (Official Build) 94092b8f650d5552ed3595eb2b3a0a96488524e7-refs/heads/master@{#533164} 64-bit OS : Mac Retina(10.12.6), Mac Touchbar (10.13.3) What steps will reproduce the problem? 1. Freshly install chrome and launch it (By default user lands at chrome://welcome page). 2. In the same tab, type chrome://version in omnibox and hit ‘Enter’. 3. Now click on browser's ‘Minimize’ icon and maximize it again. 4. Observe the Chrome://version page. (Kindly review an attached screen cast) Actual Result : Page appears chopped after minimizing and maximizing chrome. Expected Result : Page contents should not chop on minimizing and maximizing chrome. This is a regression issue broken in ‘M-66’ and will soon update other details.
,
Jan 31 2018
,
Feb 1 2018
That's definitely the culprit CL. Taking a look at it.
,
Feb 1 2018
This is really bad ... it fails to repro in debug builds, trying a release.
,
Feb 1 2018
Hmm, I can't reproduce this all on a release build either (but I hit it all the time on Canary). I think this was fixed by r533183 -- verifying with local reverts.
,
Feb 1 2018
Okay, who can spot the bug?
delegated_frame_host_size_dip_ = size_dip;
delegated_frame_host_size_pixels_ = gfx::ConvertSizeToPixel(
delegated_frame_host_scale_factor_, delegated_frame_host_size_dip_);
delegated_frame_host_scale_factor_ = scale_factor;
/facepalm
,
Feb 1 2018
marking as RBS, please change if required.
,
Feb 1 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/080aecf31b30e2e540f67bbf4e4c70f28bec8f9a commit 080aecf31b30e2e540f67bbf4e4c70f28bec8f9a Author: Christopher Cameron <ccameron@chromium.org> Date: Thu Feb 01 04:21:56 2018 viz/mac: Fix pixel size calcuation In this block size_dip_ = size_dip; size_pixels_ = gfx::ConvertSizeToPixel(scale_factor_, size_dip_); scale_factor_ = scale_factor; We compute the DIP size using the old scale factor. TBR=fsamuel Bug: 807576 Change-Id: Ib1b1f0496301cbd356c84ceec18b951150fe5468 Reviewed-on: https://chromium-review.googlesource.com/896968 Reviewed-by: ccameron <ccameron@chromium.org> Reviewed-by: Fady Samuel <fsamuel@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#533555} [modify] https://crrev.com/080aecf31b30e2e540f67bbf4e4c70f28bec8f9a/content/browser/renderer_host/browser_compositor_view_mac.mm
,
Feb 1 2018
Doh, I missed this initial review too :S
,
Feb 1 2018
,
Feb 1 2018
,
Feb 2 2018
,
Feb 2 2018
Issue 807533 has been merged into this issue.
,
Feb 2 2018
Issue 807626 has been merged into this issue.
,
Feb 2 2018
Issue 808530 has been merged into this issue.
,
Feb 3 2018
Issue 808769 has been merged into this issue.
,
Feb 3 2018
Issue 808674 has been merged into this issue. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by avsha...@etouch.net
, Jan 31 2018Owner: ccameron@chromium.org
Status: Assigned (was: Unconfirmed)
11.4 MB
11.4 MB View Download