New issue
Advanced search Search tips

Issue 666133 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

mouse wheel over-scrolls when display is scaled (does not account for scaling)

Reported by terryaba...@gmail.com, Nov 17 2016

Issue description

Chrome Version       : 
Google Chrome	54.0.2840.99 (Official Build) m (64-bit)
Revision	7eca4ce1e662f12cadaf96c30cd2335fd03e7140-refs/branch-heads/2840@{#830}
OS	Windows 
JavaScript	V8 5.4.500.41
Flash	23.0.0.205
User Agent	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Command Line	"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --flag-switches-begin --flag-switches-end
Executable Path	C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Profile Path	C:\Users\Terry\AppData\Local\Google\Chrome\User Data\Default
Variations	6a89113b-2bdd0794
b3888d8d-afba0f91
6345b824-3f4a17df
3095aa95-3f4a17df
7c1bc906-f55a7974
ba3f87da-92cc81ec
27e74072-186f5907
f15c1c09-ca7d8d80
93731dca-3f4a17df
9e243dd-803f8fc4
9e5c75f1-c16ec2e6
6b121ae7-ca7d8d80
f5dd6118-f23d1dea
f79cb77b-3d47f4f4
b7786474-d93a0620
868bda90-ca7d8d80
4ea303a6-ecbb250e
7aa46da5-669a04e0
fe9bec35-80f9a33e
9736de91-ca7d8d80
dbffab5d-ca7d8d80
867c4c68-ca7d8d80
b2f0086-93053e47
6844d8aa-669a04e0
f47ae82a-746c2ad4
3ac60855-486e2a9c
f296190c-a5822863
4442aae2-6e597ede
ed1d377-e1cc0f14
75f0f0a0-6bdfffe7
e2b18481-6e3b1976
e7e71889-4ad60575
828a5926-ca7d8d80
Compiler	MSVC 2015 (PGO)

URLs (if applicable) : N/A
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: N/A
    Firefox: N/A
         IE: N/A

What steps will reproduce the problem?
(1) Set Windows to "One screen at a time" per wheel notch vertical scrolling
    Control Panel > Mouse > Wheel > Vertical Scrolling
(2) Set Windows to anything over 100% display scaling (I use 150% on my 4K screen)
    Settings > System > Display > Change the size of text, apps, and other items
(3) Use the mouse wheel to scroll any page larger than 2x the browser height

What is the expected result?
The page scrolls up or down by approximately 100% browser height (appears to be about 90% normally, leaving a bit of content overlap)

What happens instead?
The page scrolls up or down by MORE than 100%, skipping content entirely (appears to be about 135% on 150% display setting - i.e. doesn't take display scaling into account).  This makes mouse wheel scrolling UNUSABLE.

Please provide any additional information below. Attach a screenshot if
possible.

I now use the old Chrome version 52.0.2743.116, which is the newest version I could find that pre-dates the reintroduction this scrolling problem.  In the past this problem was fixed within a minor release or two.  Applies to at least Windows 7 and 10; probably all Windows versions.

 

Comment 1 by ajha@chromium.org, Nov 18 2016

Labels: M-54
Components: Blink>Scroll
Cc: dtapu...@chromium.org osh...@chromium.org
Owner: bsep@chromium.org
Status: Assigned (was: Unconfirmed)
bsep@ this sounds related to the the device scale changes. Can you take a look?

Comment 4 by bsep@chromium.org, Dec 1 2016

Components: UI>HighDPI
I agree it sounds like a hidpi bug. I'll take a look.

Comment 5 by chengx@chromium.org, Dec 29 2016

Owner: chengx@chromium.org
Status: Started (was: Assigned)
Project Member

Comment 7 by bugdroid1@chromium.org, Feb 18 2017

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

commit 9c53350ce5b4233fedd89b6593451df30539b920
Author: chengx <chengx@chromium.org>
Date: Sat Feb 18 07:03:03 2017

Fix mouse wheel over-scrolls when display is scaled and scroll is paginated

In Windows, when it is set to "One screen at a time" per wheel notch
vertical scrolling, and to over 100% display scaling, the page scrolls
up or down by more than 100% (actually display_scaling * 100%), where
approximately 100% is expected. Basically, the scrolling takes display
scaling into account which it shouldn't. This makes paginated mouse
wheel scrolling unusable when display is scaled to over 100%.

This CL fixes this bug.

BUG= 666133 

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

[modify] https://crrev.com/9c53350ce5b4233fedd89b6593451df30539b920/ui/events/blink/blink_event_util.cc
[modify] https://crrev.com/9c53350ce5b4233fedd89b6593451df30539b920/ui/events/blink/blink_event_util_unittest.cc
[modify] https://crrev.com/9c53350ce5b4233fedd89b6593451df30539b920/ui/events/gesture_event_details.cc
[modify] https://crrev.com/9c53350ce5b4233fedd89b6593451df30539b920/ui/events/gesture_event_details.h

Comment 8 by chengx@chromium.org, Feb 18 2017

Status: Fixed (was: Started)

Sign in to add a comment