New issue
Advanced search Search tips

Issue 808475 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug

Blocking:
issue 417782



Sign in to add a comment

[root layer scrolls] Devtools Select Element while remote debugging uses wrong scroll offset

Project Member Reported by bokan@chromium.org, Feb 2 2018

Issue description

Chrome Version       : 66.0.3336.4

What steps will reproduce the problem?
0. Run chrome with --root-layer-scrolls.
1. Open any scrollable page
2. Scroll down
3. Connect the device to a desktop and inspect with chrome://inspect
4. Click the select element button (or ctrl-shift-c), ensure "screencast" is enabled
5. Try to highlight elements on the screencast 

What is the expected result?
The element under the mouse cursor should be highlighted

What happens instead of that?
Elements at an offset from the mouse get highlighted

Picture attached. Works correctly on non-remote desktop so this is an Android specific issue in DevTools.

 
Screenshot from 2018-02-02 12-26-09.png
941 KB View Download

Comment 1 by bokan@chromium.org, Feb 2 2018

Blocking: 417782
Owner: szager@chromium.org
Status: Started (was: Available)
Project Member

Comment 3 by bugdroid1@chromium.org, Feb 9 2018

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

commit 3343aba29860c74e6ed948289e1e144e6256ffec
Author: Stefan Zager <szager@chromium.org>
Date: Fri Feb 09 05:20:59 2018

[RootLayerScrolls] Fix hit testing from remote inspector.

BUG= 808475 
R=bokan@chromium.org,skobes@chromium.org

Change-Id: I3dfe9e574b049183598037a4adfec68f7d83ff9c
Reviewed-on: https://chromium-review.googlesource.com/910652
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#535649}
[modify] https://crrev.com/3343aba29860c74e6ed948289e1e144e6256ffec/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp

Status: Fixed (was: Started)

Sign in to add a comment