New issue
Advanced search Search tips

Issue 636393 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome
Pri: 3
Type: Bug

Blocking:
issue 307091



Sign in to add a comment

Overlay scrollbars sometimes get stuck in hover state

Project Member Reported by bokan@chromium.org, Aug 10 2016

Issue description

Version: 53.0.2785.23
OS: ChromeOS

What steps will reproduce the problem?
(1) enable chrome://flags/#overlay-scrollbars
(2) Go to bokan.ca/iframe.html
(3) Quickly move the mouse between the "Nested Iframe", "DIV" and "IFRAME" boxes then move it out of all three.

What is the expected output?
The scroll bars should all shrink back to the unhovered state.

What do you see instead?
Sometimes the scrollbars remain in the hover state


Please use labels and text to provide additional information.

 

Comment 1 by bokan@chromium.org, Aug 10 2016

See attached screenshot, mouse is over the main document's content; both scrollers are in a hover state.
Screenshot 2016-08-10 at 10.53.16 AM.png
123 KB View Download

Comment 2 by bokan@chromium.org, Aug 10 2016

Labels: OS-Linux OS-Windows
Reproduced on Windows too so probably not platform specific.

Comment 3 by bokan@chromium.org, Sep 2 2016

Owner: sahel@chromium.org

Comment 4 by bokan@chromium.org, Sep 22 2016

Labels: Hotlist-Input-Dev

Comment 5 by sahel@chromium.org, Oct 20 2016

Status: Started (was: Available)
Cc: bokan@chromium.org chaopeng@chromium.org
 Issue 656657  has been merged into this issue.
Project Member

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

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

commit db2d55e87ca8e0a8c74d29f479ec498053495e6f
Author: sahel <sahel@chromium.org>
Date: Tue Oct 25 14:21:49 2016

Iframe/div MD scrollbars get idle when mouse leaves the nested elements.

If the scrollbar of a nested element is not captured, it
should get back to idle state when mouse leaves the element.
Now, the scrollbar gets stuck in hover state if mouse leaves the nested element while being near the scrollbar.
With this change the non-captured scrollbars always get back to idle state when the mouse leaves the div/iframe.

BUG= 636393 
TEST=LayerTreeHostImplTest.LayerTreeHostImplTestScrollbarStates
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel

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

[modify] https://crrev.com/db2d55e87ca8e0a8c74d29f479ec498053495e6f/cc/input/scrollbar_animation_controller.h
[modify] https://crrev.com/db2d55e87ca8e0a8c74d29f479ec498053495e6f/cc/input/scrollbar_animation_controller_thinning.cc
[modify] https://crrev.com/db2d55e87ca8e0a8c74d29f479ec498053495e6f/cc/input/scrollbar_animation_controller_thinning.h
[modify] https://crrev.com/db2d55e87ca8e0a8c74d29f479ec498053495e6f/cc/input/scrollbar_animation_controller_thinning_unittest.cc
[modify] https://crrev.com/db2d55e87ca8e0a8c74d29f479ec498053495e6f/cc/trees/layer_tree_host_impl.cc
[modify] https://crrev.com/db2d55e87ca8e0a8c74d29f479ec498053495e6f/cc/trees/layer_tree_host_impl.h
[modify] https://crrev.com/db2d55e87ca8e0a8c74d29f479ec498053495e6f/cc/trees/layer_tree_host_impl_unittest.cc

Comment 8 by sahel@chromium.org, Oct 25 2016

Status: Fixed (was: Started)
Labels: Needs-Feedback
sahel@ Trying to verify this bug. Could you please provide repro steps?
I am unable to open the html pages given in comment #0 and the duplicate bug

Comment 10 by bokan@chromium.org, Oct 31 2016

The repro doesnt work anymore since we added scrollbar fading so the bug isnt visible anymore.
Status: Verified (was: Fixed)
Thanks bokan@

Closing the bug as per comment #10
Labels: -Needs-Feedback

Sign in to add a comment