Overlay scrollbar "appear on hover" doesn't work until mouse move |
||||
Issue descriptionWhat steps will reproduce the problem? (1) Enable overlay scrollbars (2) Visit any scrollable page, wait for scrollbars to fade out (3) Move mouse to where the scrollbar was and leave it still What is the expected result? The scrollbar should fade in after a delay of ~1 second What happens instead? The scrollbar does not fade in. Waiting over 1 second and then moving the mouse causes the scrollbar to fade in.
,
Mar 4 2017
By bisect, I found this patch (e7a058aa7db4c0fc172200fd16c800ec1b94d8e6 Use nine-patch resource for drawing Aura overlay scrollbar thumb.) caused this issue.
,
Mar 6 2017
Huh, interesting. That patch didn't touch the animation controller at all. Ok, thanks for pointing out the patch, I'll take a look.
,
Mar 14 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7858bc70062f09e1cd60e9a99dd8e5129d2c0ff2 commit 7858bc70062f09e1cd60e9a99dd8e5129d2c0ff2 Author: bokan <bokan@chromium.org> Date: Tue Mar 14 19:22:17 2017 Call setNeedsRedraw when scrollbar opacity changes. This is needed to ensure that the change to scrollbar opacity is actually shown if there's no other side effects. BUG= 698275 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2740493003 Cr-Commit-Position: refs/heads/master@{#456782} [modify] https://crrev.com/7858bc70062f09e1cd60e9a99dd8e5129d2c0ff2/cc/input/scrollbar_animation_controller.cc [modify] https://crrev.com/7858bc70062f09e1cd60e9a99dd8e5129d2c0ff2/cc/trees/layer_tree_host_impl.cc [modify] https://crrev.com/7858bc70062f09e1cd60e9a99dd8e5129d2c0ff2/cc/trees/layer_tree_host_impl_unittest.cc
,
May 15 2017
,
May 16 2017
9557.0.0, 60.0.3101.0 |
||||
►
Sign in to add a comment |
||||
Comment 1 by chaopeng@chromium.org
, Mar 3 2017