Closed Bug 1389964 Opened 7 years ago Closed 4 years ago

macOS: pasting a batch of multiple files from the OS results in empty event.clipboardData.items / event.clipboardData.files

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect, P3)

54 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1699743

People

(Reporter: danburzo, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170628075643 Steps to reproduce: 1. Go to https://danburzo.github.io/clipboard-inspector/ 2. From the macOS Finder, copy multiple files by pressing Cmd + C 3. Press Cmd + V on the web page from step #1 Actual results: The event.clipboardData.files / event.clipboardData.items does not contain any information about the files. Expected results: There should be an individual entry per file in event.clipboardData.files / event.clipboardData.items for the "paste" event.
Component: Untriaged → DOM: Events
Product: Firefox → Core
This is somewhat similar to the issue described here: https://bugzilla.mozilla.org/show_bug.cgi?id=864052 but the behavior has changed since the original report (or has always been different on macOS), as pasting multiple files no longer displays info for the first file. Behavior in other browsers: * Chrome 60 acknowledges only the last file from the ones copied. * Safari 10.1 contains individual entries per file.
Priority: -- → P3

Please note the diagnostic page has moved to: https://evercoder.github.io/clipboard-inspector/

The issue still reproduces in Firefox 88.0.1 / macOS.

Basically a duplicate Bug 1699743 / Bug 1308007.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Component: DOM: Events → DOM: Copy & Paste and Drag & Drop

This issue has been marked as a duplicate of #1699743, a fix for which was recently included in Firefox 116: https://bugzilla.mozilla.org/show_bug.cgi?id=1699743

However, pasting multiple files from the OS in Firefox 116.0.3 / macOS 13.4.1 is still not supported. Only the first file is picked up.

Flags: needinfo?(evilpies)
Flags: needinfo?(evilpies)
You need to log in before you can comment on or make changes to this bug.