New issue
Advanced search Search tips

Issue 890646 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

`drop` event is not triggered when mouse is moving between different elements

Reported by zerk...@gmail.com, Sep 30

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Steps to reproduce the problem:
Try to drag a text file from your desktop and slowly move over the thin divs borders.

You would see that the `Move` label is flickering with `Copy` sometimes. My guess is that it's flickering on a short moment while mouse pointer crosses the element border.

Now if you drop a file and is lucky enough to have the drag process in the `Copy` state - the `drop` even won't be fired and the file would be just opened in a chrome.

What is the expected behavior?
The `drop` event should be triggered with `e.preventDefault();`

What went wrong?
Instead - it's not triggered and a browser opens a file, instead of just `e.preventDefault();`

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 69.0.3497.100  Channel: stable
OS Version: 10
Flash Version: 

It's indeed a bit tricky to reproduce, but I can do that in about 1/10 times and could reproduce it on multiple different machines.
 
drag-drop.html
1.7 KB View Download
PS: it might be not immediately obvious from the report above, but it's only reproducible in windows 10. It's fine under linux (ubuntu 16, unity), and I don't have access to osx to try it.
为什么我的Face book 登不进 
Screenshot_2018-10-01-03-35-05-26.png
280 KB View Download
Labels: Needs-Triage-M69
Cc: phanindra.mandapaka@chromium.org
Components: UI
Labels: Triaged-ET Needs-Feedback
 zerkmss@ Thanks for the issue... 

Tried to reproduce this issue on reported chrome 69.0.3497.100 Using Windows 10 .Attaching screen-cast for reference. 
Steps:
---------
1. Launched reported chrome 
2. Downloaded given html files and dragged and opened on new tab
3. Placed cursor on the thin divs borders as per screencast 
As we have not observed the flickering on while mouse pointer crosses the element border.

@Reporter: Could you please review the attached screen-cast and confirm if anything being missed here and also verify this issue with fresh profile that is not having any extensions and apps or reset all the flags. Let us know whether issue still persists.

Thanks...!
890646.mp4
3.4 MB View Download
"Try to drag a text file from your desktop and slowly move over the thin divs borders."

You did not drag a file from your desktop. Un-maximise your chrome window, create a text file, drag it from the desktop to a chrome window (don't drop) and move mouse (while still having the mouse button hold) over those divs.
Project Member

Comment 6 by sheriffbot@chromium.org, Oct 4

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Here I recorded how it looks on the current machine (it's 4th I could reproduce it on)

1. Just dragging over with move-copy flickering https://youtu.be/VEtckMtMgMw 
2. With actual event loss https://youtu.be/QthEGI1nbV0
Cc: kkaluri@chromium.org
Labels: Hotlist-DesktopUIChecked Hotlist-DesktopUIValid
Status: Untriaged (was: Unconfirmed)
**Mass UI Triage **

Able to reproduce this issue on Windows 10 with chrome canary #72.0.3610.0 and also on earlier chrome M60 - #60.0.3112.0, hence this is a non-regression issue.

Attaching the screen-cast for reference.
890646-Win.mp4
614 KB View Download
Labels: OS-Linux
Observed a different behavior in debian machine, instead of move, copy text it displaying their symbols.

Attaching the screen-cast for reference.

Note: Issue is not seen in Mac OS
890646-Debian.mp4
419 KB View Download

Sign in to add a comment