Closed Bug 695284 Opened 15 years ago Closed 15 years ago

HTML5 drop event dataTransfer.files is empty

Categories

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

7 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 625745

People

(Reporter: keguira, Unassigned)

Details

Attachments

(1 file)

Attached file Test case —
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Build ID: 20110928134238 Steps to reproduce: Attempted to create a file drop zone in a page using HTML5 drag and drop and drag a file from my file manager (Thunar). Actual results: although event.dataTransfer.mozItemCount is correct, event.dataTransfer.files is empty so it is impossible to treat the files. Its like the browser does not see i'm dragging files. Expected results: The event.dataTransfer.files should have contained informations about the dragged files.
Could you please post your HTML?
You can find it in attachment : tt's the "Test case", should have post it as a zip file. To be more precise with the bug : I tested my case with a gnome environment too (I was testing under xfce) Same Firefox version : Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 - build ID : 20110928134238, same linux distribution : Debian 6.0.3 Squeeze. The bug does not occur if I drop a file from Nautilus. It looks like firefox does not see my picked elements from Thunar as files.
Attachment #567694 - Attachment mime type: text/plain → text/html
Yeah, sounds like either we or the file manager are screwing up something here....
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: