New issue
Advanced search Search tips

Issue 807576 link

Starred by 10 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug-Regression



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 description

Chrome 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.
 
Actual_Result_Mac.mov
9.5 MB View Download

Comment 1 by avsha...@etouch.net, Jan 31 2018

Labels: hasbisect-per-revision RegressedIn-66 FoundIn-66 Target-66
Owner: ccameron@chromium.org
Status: Assigned (was: Unconfirmed)
This is a regression issue broken in ‘M-66’ and providing the bisect using ‘per-revision bisect’ script :
Good Build : 66.0.3334.0 (revision : 532208)
Bad Build : 66.0.3335.0 (revision : 533164)

You are probably looking for a change made after 532350 (known good), but no later than 532351 (first known bad).

CHANGELOG URL:
https://chromium.googlesource.com/chromium/src/+log/d78876f32ca7c1f40bd8add5665a9427dbbab950..5545b33782e2bc68548c0bdc12bc9ff6bc5e43e4

Suspect : https://chromium.googlesource.com/chromium/src/+/5545b33782e2bc68548c0bdc12bc9ff6bc5e43e4

@ccameron : Could you please look into the issue, pardon me if it has nothing to do with your changes and if possible please assign it to concern owner.

Note : 
1. This issue is also observed at Chrome ’Manage People’ window and ‘Gmail’ inbox page.
2. Issue is reproducible on Mac Retina(10.12.6) and Mac Touch bar (10.13.3) machine.
3. Same issue is not reproducible on Mac(10.13.1), Windows(7,8,8.1,10) & Linux(14.04 LTS) OS.
Expected_Result_Mac.mov
11.4 MB View Download
Components: -Blink>Paint Internals>Compositing
That's definitely the culprit CL.

Taking a look at it.
This is really bad ... it fails to repro in debug builds, trying a release.
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.
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
Labels: ReleaseBlock-Stable
marking as RBS, please change if required.
Project Member

Comment 8 by bugdroid1@chromium.org, 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

Doh, I missed this initial review too :S
Cc: ccameron@chromium.org ligim...@chromium.org
 Issue 807855  has been merged into this issue.
Status: Fixed (was: Assigned)
Labels: ET-MUM-Reported
 Issue 807533  has been merged into this issue.
Issue 807626 has been merged into this issue.
 Issue 808530  has been merged into this issue.
 Issue 808769  has been merged into this issue.
 Issue 808674  has been merged into this issue.

Sign in to add a comment