New issue
Advanced search Search tips

Issue 600402 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Incosistent drag event screen coordinates for webview

Project Member Reported by majidvp@chromium.org, Apr 4 2016

Issue description

When using drag and drop in a webview the screen coordinates (event.screen{X,Y}) for some drag events (drag, drag enter, drag leave, etc.) is incorrect.


What is the expected output?
The event screen coordinate should be in screen space.

What do you see instead?
The event screen coordinates are in client space.


Attached is a screen capture of a simple test I ran. Notice the screen coordinate jump from mousedown and dragstart to drag.

The test was done by embedding "http://jsbin.com/rodenub/3" in sample webview app from: https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/webview-samples/webview

I have tested this on Linux only.

 
drag-screen-coordinates-invalid.png
57.6 KB View Download
Components: Platform>Apps>BrowserTag

Comment 2 Deleted

Sign in to add a comment