Drag&Drop from Thunar (XFCE file manager) to Firefox results in empty FileList #1837
Comments
Sorry, but I couldn't reproduce any problems with Drag&Drop on Firefox 16.0.2, tested on both OSX 10.8 and Windows XP. Can you provide a more detailed error report? |
Hi, Sorry, I've not provided enough details! I'm using linux (debian 6.0.6 ), I havn't tried on windows when I wrote this issue but it works on windows. There are no errors in the console. I tried with a simple .txt file. |
Which filemanager did you use on Debian? Gnome's Nautilus? KDE's Konqueror? |
My window manager is XFCE and my filemanager is Thunar. |
OK, this seems to be a bug in Firefox, since the following (pure) JavaScript code results in an empty FileList reported in the console when dropping files dragged from Thunar: document.addEventListener('dragover', function (e) {
e.preventDefault();
}, false);
document.addEventListener('drop', function (e) {
e.preventDefault();
console.log(e.dataTransfer.files.length);
}, false); You can try it out on JSFiddle: There is also a related entry in the Firefox bug tracker: |
Thank you for your (very fast) answer! I'll watch the bug tracker entry. Closing this issue! Greetings, |
No worries. I marked the issue entry as browser bug, so I think we can keep it open for other users stumbling on this issue. If the Firefox bug gets closed, we can close it too. |
FireFox 17.0: dataTransfer.files == null But test (http://jsfiddle.net/wpT4q/1/) prints 1 to console in both browsers. OS is Windows 7. |
Hi,
The drag & drop does not seems to works with FF, but it still works on Chrome.
I can reproduce the problem on your demo page : http://blueimp.github.com/jQuery-File-Upload/
I use FF version 16.0.2
Thanks for your plugin!
Guillaume
The text was updated successfully, but these errors were encountered: