New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 637264 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Sep 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Overflow scrollbars retain width from original monitor when window is dragged to a different density monitor.

Project Member Reported by flackr@chromium.org, Aug 12 2016

Issue description

Version: 53.0.2785.55 (Official Build) beta (64-bit)
OS: ChromeOS 8530.49.0 (Official Build) beta-channel samus

What steps will reproduce the problem?
(1) On a high density device (e.g. Pixel) attach a low density monitor.
(2) Visit a site with an overflow scroll element (e.g. http://output.jsbin.com/xahitu/4)
(3) Drag the window to the other display.

What is the expected output?
Expect the scrollbar to retain the same logical width.

What do you see instead?
Instead, it retains it's physical pixel width essentially becoming thinner (when dragged to the high dpi display) or wider (when dragged to the lower density display) as shown in the screenshot.

Please use labels and text to provide additional information.

 
Screenshot 2016-08-12 at 9.38.57 AM.png
142 KB View Download
Labels: -Pri-3 Pri-2
Owner: malaykeshav@chromium.org
Status: Assigned (was: Untriaged)
Status: Started (was: Assigned)
This is fixed post 53.0.2785.55
Not reproducible in 53.0.2785.81
Will confirm M55 and update this bug.
Happens in M55 if zoom-for-dsf is enabled. Working on a fix.,
Project Member

Comment 5 by bugdroid1@chromium.org, Sep 30 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5556b4bf5c650643cc5aea0f17a72b1e9e29e316

commit 5556b4bf5c650643cc5aea0f17a72b1e9e29e316
Author: malaykeshav <malaykeshav@chromium.org>
Date: Fri Sep 30 20:40:16 2016

Scrollbar width is set using thickness to compute correct rect size

BUG= 637264 
COMPONENT=ScrollableArea, Webkit
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Review-Url: https://codereview.chromium.org/2377453004
Cr-Commit-Position: refs/heads/master@{#422210}

[modify] https://crrev.com/5556b4bf5c650643cc5aea0f17a72b1e9e29e316/third_party/WebKit/LayoutTests/TestExpectations
[add] https://crrev.com/5556b4bf5c650643cc5aea0f17a72b1e9e29e316/third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-decrease-device-scale-factor-expected.png
[add] https://crrev.com/5556b4bf5c650643cc5aea0f17a72b1e9e29e316/third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-decrease-device-scale-factor-expected.txt
[add] https://crrev.com/5556b4bf5c650643cc5aea0f17a72b1e9e29e316/third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-decrease-device-scale-factor.html
[add] https://crrev.com/5556b4bf5c650643cc5aea0f17a72b1e9e29e316/third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-increase-device-scale-factor-expected.png
[add] https://crrev.com/5556b4bf5c650643cc5aea0f17a72b1e9e29e316/third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-increase-device-scale-factor-expected.txt
[add] https://crrev.com/5556b4bf5c650643cc5aea0f17a72b1e9e29e316/third_party/WebKit/LayoutTests/fast/hidpi/scrollbar-appearance-increase-device-scale-factor.html
[modify] https://crrev.com/5556b4bf5c650643cc5aea0f17a72b1e9e29e316/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp

Status: Fixed (was: Started)
Project Member

Comment 7 by bugdroid1@chromium.org, Oct 3 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7f060555f918f54ddb5791850182aa11906183cb

commit 7f060555f918f54ddb5791850182aa11906183cb
Author: Rebaseline Bot <blink-rebaseline-bot@chromium.org>
Date: Mon Oct 03 23:40:59 2016

Auto-rebaseline for r422210

https://chromium.googlesource.com/chromium/src/+/5556b4bf5

BUG= 637264 
TBR=malaykeshav@chromium.org

Review URL: https://codereview.chromium.org/2392783002 .

Cr-Commit-Position: refs/heads/master@{#422602}

[modify] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/TestExpectations
[rename] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/linux/fast/hidpi/scrollbar-appearance-decrease-device-scale-factor-expected.png
[rename] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/linux/fast/hidpi/scrollbar-appearance-decrease-device-scale-factor-expected.txt
[rename] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/linux/fast/hidpi/scrollbar-appearance-increase-device-scale-factor-expected.png
[rename] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/linux/fast/hidpi/scrollbar-appearance-increase-device-scale-factor-expected.txt
[add] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/hidpi/scrollbar-appearance-decrease-device-scale-factor-expected.png
[add] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/hidpi/scrollbar-appearance-increase-device-scale-factor-expected.png
[add] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/mac/fast/hidpi/scrollbar-appearance-decrease-device-scale-factor-expected.png
[add] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/mac/fast/hidpi/scrollbar-appearance-decrease-device-scale-factor-expected.txt
[add] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/mac/fast/hidpi/scrollbar-appearance-increase-device-scale-factor-expected.png
[add] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/mac/fast/hidpi/scrollbar-appearance-increase-device-scale-factor-expected.txt
[add] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/win/fast/hidpi/scrollbar-appearance-decrease-device-scale-factor-expected.png
[add] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/win/fast/hidpi/scrollbar-appearance-decrease-device-scale-factor-expected.txt
[add] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/win/fast/hidpi/scrollbar-appearance-increase-device-scale-factor-expected.png
[add] https://crrev.com/7f060555f918f54ddb5791850182aa11906183cb/third_party/WebKit/LayoutTests/platform/win/fast/hidpi/scrollbar-appearance-increase-device-scale-factor-expected.txt

Comment 8 by dchan@chromium.org, Oct 7 2016

Labels: VerifyIn-55

Comment 9 by dchan@google.com, Nov 19 2016

Labels: VerifyIn-56

Comment 10 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 11 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 12 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 13 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 15 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment