New issue
Advanced search Search tips

Issue 709700 link

Starred by 3 users

Issue metadata

Status: Verified
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Overlay scrollbars appear abruptly

Project Member Reported by tbuck...@chromium.org, Apr 8 2017

Issue description

Chrome Version: 59.0.3065.0
OS: Chrome

What steps will reproduce the problem?
(1) Let overlay scrollbars fade out
(2) Move mouse to within 30px of scrollbars

What is the expected result?
Scrollbars appear, expanded

What happens instead?
Scrollbars do not appear. The scrollbars don't appear until the mouse is directly on top of them.

Spec:
- When the scrollbars are hidden, they should become both visible and expanded when the mouse is within 30px of the side of the screen.
- When the scrollbars are visible but narrow, they should become expanded when the mouse is within 30px of the side of the screen.

Please use labels and text to provide additional information.


For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.

 
Summary: Overlay scrollbars appear abruptly (was: Overlay scrollbars appears abruptly)
Cc: -chaopeng@chromium.org bokan@chromium.org
Owner: chaopeng@chromium.org
Just do a quick check on 59.0.3065.0 Linux, it works correctly. I will try it on CrOS Monday.
IMG_20170407_214702.jpg
4.5 MB View Download

Comment 4 by bokan@chromium.org, Apr 10 2017

I can repro and found the issue I think: https://cs.chromium.org/chromium/src/cc/input/scrollbar_animation_controller.cc?l=328

This line should be (kMouseMoveDistanceToTriggerShow + scrollbar->ThumbThickness()))

Comment 5 by e...@chromium.org, Apr 10 2017

Components: -Blink>Layout>Scrollbars Blink>Scroll
Project Member

Comment 6 by bugdroid1@chromium.org, Apr 12 2017

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

commit 07077943755bf2cf166a2fe8c2aaab6fd46142b6
Author: chaopeng <chaopeng@chromium.org>
Date: Wed Apr 12 20:06:24 2017

Change the distance trigger scrollbar show

We used to calculate the distance from edge to trigger scrollbar show. Now
change to use the distance from scrollbar to trigger scrollbar show.

BUG= 709700 
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

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

[modify] https://crrev.com/07077943755bf2cf166a2fe8c2aaab6fd46142b6/cc/input/scrollbar_animation_controller.cc
[modify] https://crrev.com/07077943755bf2cf166a2fe8c2aaab6fd46142b6/cc/input/scrollbar_animation_controller_unittest.cc

Status: Fixed (was: Assigned)
Labels: Merge-TBD
[Auto-generated comment by a script] We noticed that this issue is targeted for M-59; it appears the fix may have landed after branch point, meaning a merge might be required. Please confirm if a merge is required here - if so add Merge-Request-59 label, otherwise remove Merge-TBD label. Thanks.

Comment 9 by bokan@chromium.org, Apr 13 2017

Re#8, I thought M-59 still hasn't branched as of today. Was the above comment a mistake?

Comment 10 by son...@google.com, Apr 20 2017

Status: Verified (was: Fixed)
verified on build 9460.4.0
Project Member

Comment 11 by sheriffbot@chromium.org, Jun 2 2017

Labels: -Merge-TBD

Sign in to add a comment