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

Issue 667206 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Regression : In devtools, hover effect is not seen on vertical scroll bar in ‘Timeline data’ section.

Reported by yfulgaon...@etouch.net, Nov 21 2016

Issue description

Chrome Version : 57.0.2926.0 (Official Build) da59d418f54604ba2451cd0ef3a9cd42c05ca530-refs/heads/master@{#433437} 64-bit
OS : Mac(10.11.6, 10.12.1, 10.12)

What steps will reproduce the problem?
1. Launch chrome, open NTP and open devtools.
2. Navigate to ‘Timeline’ tab and hit ‘Cmd + R’ to record the reload.
3. Now mouse hover on scroll bar in ‘Timeline data’ section and observe the scroll bar (Please review an attached screen cast)

Actual : Hover effect is not seen on vertical scroll bar in ‘Timeline’ section. (Hover effect is only seen when hovering at the edge of the scroll bar)
Expected : Hover effect should be seen on vertical scroll bar in ‘Timeline’ section.

This is a regression issue broken in ‘M-56’, below is the Manual Regression range and will soon update other info.
Good Build : 56.0.2910.0
Bad Build : 56.0.2912.0

Note : 
1. This is Mac specific issue and the same is working fine on Windows & Linux OS.
 
Actual_scrollbar_hover.mov
8.4 MB Download
Expected_scrollbar_hover.mov
6.2 MB Download
Labels: hasbisect-per-revision
Owner: chaorenl@chromium.org
Status: Assigned (was: Unconfirmed)
Bisect Info:
===========

Good build : 56.0.2910.0,  Revision Range 430103
Bad build  : 56.0.2912.0,  Revision Range 430205 

After executing the per-revision-bisect script, i got the following CL's between good and bad build versions
===========================================
https://chromium.googlesource.com/chromium/src/+log/778993dda4a5c8c4a15df8d8048165aa28b80ada..524f6ac4628d3d5249d291314c6100bd0a337053

The suspecting Change Log is :
-----------
https://chromium.googlesource.com/chromium/src/+/524f6ac4628d3d5249d291314c6100bd0a337053

From the above CL suspecting the below change
---------------------------
https://codereview.chromium.org/2389073002


chaopeng@- Could you please look into this issue, if it's related to your change?  if not could you please help us to reassign this issue to the right owner.
Owner: chaopeng@chromium.org
Cc: bokan@chromium.org
This issue is related to my patch 524f6ac4628d3d5249d291314c6100bd0a337053. I will work on it.

Comment 4 by bokan@chromium.org, Nov 21 2016

Interesting, this sounds like issue 656890 but I couldn't reproduce myself (and don't have access to a Mac today). Chao, can you check if that's the same issue?
Document::updateHoverActiveState should only cancel hover and active state when hitting overlay scrollbar.

Comment 6 by bokan@chromium.org, Nov 22 2016

Ah, to add to the repro instructions, you need to disable overlay scrollbars on Mac to reproduce this.
Project Member

Comment 7 by bugdroid1@chromium.org, Nov 24 2016

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

commit bb7a6b0e1d0b5ca9aab24b7e794dc1d1e81c25db
Author: chaopeng <chaopeng@chromium.org>
Date: Thu Nov 24 00:43:51 2016

Document::updateHoverActiveState only cancel hover and active state when hitting
native scrollbar

This patch is change Document::updateHoverActiveState argument bool hitScrollbar
to Scrollbar hitScrollbar and check hitScrollbar is native scrollbar. This patch
can make `div:hover::-webkit-scrollbar-thumb` working correctly.

BUG= 667206 

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

[modify] https://crrev.com/bb7a6b0e1d0b5ca9aab24b7e794dc1d1e81c25db/third_party/WebKit/Source/core/dom/Document.cpp
[modify] https://crrev.com/bb7a6b0e1d0b5ca9aab24b7e794dc1d1e81c25db/third_party/WebKit/Source/core/dom/Document.h
[modify] https://crrev.com/bb7a6b0e1d0b5ca9aab24b7e794dc1d1e81c25db/third_party/WebKit/Source/core/input/EventHandler.cpp
[modify] https://crrev.com/bb7a6b0e1d0b5ca9aab24b7e794dc1d1e81c25db/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
[add] https://crrev.com/bb7a6b0e1d0b5ca9aab24b7e794dc1d1e81c25db/third_party/WebKit/Source/web/tests/data/custom-scrollbar-hover.html

Status: Fixed (was: Assigned)
Issue 671893 has been merged into this issue.
Cc: skobes@chromium.org
Ah, cool. It does not look like the fix in c7 has been merged to M56, probably we would want to do that?
Labels: Merge-Request-56
Yeah, we should merge this.
Status: Assigned (was: Fixed)

Comment 13 by dimu@chromium.org, Dec 7 2016

Labels: -Merge-Request-56 Merge-Approved-56 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M56 (branch: 2924)
Project Member

Comment 14 by bugdroid1@chromium.org, Dec 8 2016

Labels: -merge-approved-56 merge-merged-2924
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ea3b2748f90de1afbca1477bf39a00642aba1268

commit ea3b2748f90de1afbca1477bf39a00642aba1268
Author: David Bokan <bokan@chromium.org>
Date: Thu Dec 08 15:33:10 2016

Document::updateHoverActiveState only cancel hover and active state when hitting native scrollbar

This patch is change Document::updateHoverActiveState argument bool hitScrollbar
to Scrollbar hitScrollbar and check hitScrollbar is native scrollbar. This patch
can make `div:hover::-webkit-scrollbar-thumb` working correctly.

BUG= 667206 

Review-Url: https://codereview.chromium.org/2523903002
Cr-Commit-Position: refs/heads/master@{#434298}
(cherry picked from commit bb7a6b0e1d0b5ca9aab24b7e794dc1d1e81c25db)

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

Cr-Commit-Position: refs/branch-heads/2924@{#403}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[modify] https://crrev.com/ea3b2748f90de1afbca1477bf39a00642aba1268/third_party/WebKit/Source/core/dom/Document.cpp
[modify] https://crrev.com/ea3b2748f90de1afbca1477bf39a00642aba1268/third_party/WebKit/Source/core/dom/Document.h
[modify] https://crrev.com/ea3b2748f90de1afbca1477bf39a00642aba1268/third_party/WebKit/Source/core/input/EventHandler.cpp
[modify] https://crrev.com/ea3b2748f90de1afbca1477bf39a00642aba1268/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
[add] https://crrev.com/ea3b2748f90de1afbca1477bf39a00642aba1268/third_party/WebKit/Source/web/tests/data/custom-scrollbar-hover.html

Status: Fixed (was: Assigned)
Merged back to 56. Let me know if you're still seeing this.
Labels: TE-Verified-56.0.2924.28 TE-Verified-M56
Tested the same on mac 10.11.6 chrome version 56.0.2924.28 - Hover effect is seen on vertical scroll bar in ‘Timeline’ section

Please find the screencast

Fix works as expected.
667206.mov
6.8 MB Download

Sign in to add a comment