Allow copying and pasting files from the file browser into web content
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect, P3)
Tracking
()
People
(Reporter: nika, Unassigned)
Details
Currently copying and pasting files from the file browser into firefox doesn't work correctly, only dragging and dropping will work properly. This should be fixed such that copy and paste also works correctly.
Comment 1•8 years ago
|
||
Are we going to block shipping the directory picker stuff on this?
Comment 2•8 years ago
|
||
Isn't this more about pasteEvent.clipboardData.files not being filled properly or something.
Comment 3•8 years ago
|
||
I think this should not block Directory picker. But definitely we should fix it.
Updated•8 years ago
|
Updated•8 years ago
|
Comment 4•8 years ago
|
||
(In reply to Olli Pettay [:smaug] (TPAC) from comment #2) > Isn't this more about pasteEvent.clipboardData.files not being filled > properly or something. Is it, Michael?
Reporter | ||
Comment 5•8 years ago
|
||
(In reply to Andrew Overholt [:overholt] from comment #4) > (In reply to Olli Pettay [:smaug] (TPAC) from comment #2) > > Isn't this more about pasteEvent.clipboardData.files not being filled > > properly or something. > > Is it, Michael? Kinda? Specifically it's about the process of getting file data from the OS into a nsITransferable to be loaded into a DataTranfer in FillInExternalData. Basically, we use the same code for DnD as we use for clipboard events for loading data from the transferable, but with clipboard the transferable seems to have different stuff in it. I haven't looked much into how different those code paths are.
Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Hi,
I have managed to reproduce this issue on latest latest Nightly build 68.0a1 (2019-05-06) using Ubuntu 18.04
Comment 7•5 years ago
|
||
Reproducible in the latest Nightly 69.0a1 (2019-07-01).
Updated•4 years ago
|
Comment 8•4 years ago
|
||
Reproducible in the latest Nightly 72.0a1 (2019-11-25).
Comment 9•4 years ago
|
||
Reproducible also in the latest Firefox 73 beta and in the latest Nightly 74.0a1.
Updated•4 years ago
|
Comment 10•4 years ago
|
||
Hi,
I was able to reproduce this issue on Windows 10 with Firefox version Nightly 75.0a1 (2020-03-03) (64-bit). Marking that flag as affected.
Comment 11•4 years ago
|
||
Hi, I was able to reproduce the issue on MacOS 10.15.6 with Firefox Nightly 79.0a1 (2020-06-23), Firefox 78.0b9 and Firefox 77.0.1. Marking the flags accordingly.
Comment 12•3 years ago
|
||
Hi,
I was able to reproduce this on Ubuntu 18, Firefox 86.0b6 on imgur.
Comment 13•3 years ago
•
|
||
Hi,
I was able to reproduce this on Ubuntu 20, Firefox 89.0b6 (64-bit) on https://mystor.github.io/dragndrop/# . Marking that flag as affected.
Updated•3 years ago
|
Updated•2 years ago
|
Updated•1 year ago
|
Description
•