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

Issue 762734 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 316472
Owner: ----
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac , Fuchsia
Pri: 2
Type: Bug



Sign in to add a comment

Paste event does nt work when pasting files from Windows

Reported by star.shr...@gmail.com, Sep 6 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

Steps to reproduce the problem:
1. Right click any file in Windows, copy it.
2. CTRL+V in Chrome.

What is the expected behavior?
The on paste event contains the pasted file.

What went wrong?
The paste event does not contain any files. This works correctly on Firefox.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 60.0.3112.113  Channel: stable
OS Version: 10.0
Flash Version:
 
nofiles.png
4.1 KB View Download
Cc: hdodda@chromium.org
Labels: Needs-Milestone Needs-Feedback
Tested the issue on windows 10 & 7 and mac os 10.12.6 using chrome M61 #61.0.3163.79 and M63 #63.0.3208.0 and observed similar bhevaior in chrome and firefox.

Attached screencast for reference.

@star.shravan-- Could you please try in latest chrome stable and also help us with the sample file and screencast for better understanding.

Thanks!
762734.mp4
3.5 MB View Download
Components: Blink>DataTransfer
Labels: -Needs-Feedback OS-Android OS-Chrome OS-Fuchsia OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
#1 - you can probably use this page for pasting as GMail must support this in their code for it to work -
http://madebyevan.com/clipboard-test/
@hdodda I think you noticed the issue in your own screencast. @phistuck also noted the issue in his referenced link http://madebyevan.com/clipboard-test/.

As you can see, Firefox (I only tested on Windows) allows files to be copied via the clipboard whereas Chrome doesn't. This was the issue I had posted about.
Cc: keerthan...@techmahindra.com
Labels: Triaged-ET
Able to reproduce the issue with the reported version 60.0.3112.113 and on latest canary 63.0.3208.0 on Windows 10 and windows 7 and unable to reproduce the issue on ubuntu 14.04 and on Mac 10.12.6 with the steps mentioned below:

1. Copied an HTML file from the desktop.
2. Tried pasting it in omnibox by right clicking the  mouse.
3. Paste option is disabled.
4. Unable to paste in the clipboard URL also http://madebyevan.com/clipboard-test/

Issue seems to be Non-Regression as it's reproducible in M-50[50.0.2624.0] as well.
Status: Available (was: Untriaged)

Comment 6 by jsb...@chromium.org, Jan 19 2018

Mergedinto: 316472
Status: Duplicate (was: Available)
Components: Blink>Storage>FileAPI
Components: -Blink>FileAPI

Sign in to add a comment