Drag and Drop support for E-Mails from Microsoft Outlook
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, enhancement, P3)
Tracking
()
People
(Reporter: michael.schoendorfer, Assigned: marco.spiess)
References
Details
(Keywords: parity-chrome, parity-edge, Whiteboard: [platform-rel-Microsoft][platform-rel-Outlook])
Attachments
(2 files, 2 obsolete files)
Reporter | ||
Updated•15 years ago
|
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Comment 2•15 years ago
|
||
Reporter | ||
Comment 3•15 years ago
|
||
![]() |
||
Comment 5•15 years ago
|
||
Reporter | ||
Comment 6•15 years ago
|
||
![]() |
||
Comment 8•14 years ago
|
||
Updated•14 years ago
|
Comment 10•14 years ago
|
||
Updated•12 years ago
|
Comment 11•12 years ago
|
||
Comment 12•12 years ago
|
||
Comment 13•12 years ago
|
||
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Comment 16•10 years ago
|
||
Comment 17•9 years ago
|
||
Updated•9 years ago
|
Updated•9 years ago
|
Updated•9 years ago
|
![]() |
||
Updated•8 years ago
|
Comment 18•6 years ago
|
||
Just as an FYI: Microsoft has started to actively work on integrating OLE streams with Chromium's Drag & Drop support and is currently in the Code Review phase:
https://bugs.chromium.org/p/chromium/issues/detail?id=322605
I'm estimating that Google Chrome and the new Chromium-based Edge will support Drag & Drop from Outlook sometime in Q2/2019 (i.e. Chromium 76 or 77). Microsoft Edge (without Chromium) has supported Drag & Drop since Windows 10 v1709.
This will make Firefox the only major browser on Windows that doesn't have support for Drag & Drop from Outlook.
Comment 19•6 years ago
|
||
DragDrop from Outlook to Edge/Chrome is now working. This is a major disadvantage for Firefox and will lead many of our clients to use Chrome/Edge.
Comment 20•6 years ago
|
||
+1 This is a major issue for our customers and support staff since years. Customer's IT usually blocks all Outlook AddIn solutions necessary to remedy this, in particular as they not only store temporary files, but install hooks into Outlook DLLs which IMHO is an evil hack and not how it should be! For reference, look at the code of the open source plugin (https://github.com/tonyfederer/OutlookFileDrag) which uses EasyHook, others obviously use things like MS Detours, but that really can't be it.
As both Edge (old and new) and Chrome support this now, it's rather hard to recommend Firefox anymore, as our software heavily uses file uploads from all kinds of file sources and the only place where it's not possible (without saving a mail to desktop before, that is, which is really cumbersome) is that fine Outlook product. Unfortunately, 95% of our customers use that. Being a Firefox fan since it initially came out and using it as my premier development browser, even I find myself more and more turning to Edge these days just because of convenience. It would really be nice if this feature could be integrated into Firefox too, otherwise it's a major disadvantage indeed and would be a real pity.
Thanks for the hard work, in any case,
-- Ch.
Comment 21•5 years ago
|
||
It's a shame that Firefox is so late to the game regarding this feature, when Firefox could have beaten the other browsers by 10+ years (going by the age of this request). It seems like a small feature, but on the enterprise side employees commonly move email attachments between Outlook and web apps on a regular basis; it really does become a deciding factor when evaluating Firefox vs Chrome and Edge (both of which support the requested feature). Firefox missed the chance to be first with this feature, and now it's the only browser without it.
Comment 22•5 years ago
|
||
Comment 23•5 years ago
|
||
Sadly we had to recommend to our customers to switch to the edge browser, because drag and drop from Outlook is still not supported in Firefox.
Hopefully this feature will come soon. Are there any news on this?
Comment hidden (metoo) |
Comment hidden (metoo) |
Comment hidden (metoo) |
Updated•5 years ago
|
Comment hidden (metoo) |
Comment hidden (metoo) |
Comment hidden (metoo) |
Comment hidden (metoo) |
Comment 31•4 years ago
|
||
Hi,
i have the same problem with a customer only in firefox.
I would understand why it works in this fiddle (from https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/files):
https://jsbin.com/hiqasek/edit?html,js,output
https://jsfiddle.net/9C2EF/
There is only a div with on-Events.
I copy the div and the javascript but it don´t work.
Can anyone explain it?
Comment 32•4 years ago
|
||
(In reply to schlesier from comment #31)
Hi,
i have the same problem with a customer only in firefox.
I would understand why it works in this fiddle (from https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/files):
https://jsbin.com/hiqasek/edit?html,js,output
https://jsfiddle.net/9C2EF/There is only a div with on-Events.
I copy the div and the javascript but it don´t work.Can anyone explain it?
Maybe I don't understand the problem correctly, but as I see it, the Fiddles work when dragging files from Explorer, but not from Outlook. That is because Firefox only supports HTML5 drag/drop and expects a CF_HDROP flavor, that is, a physical file. When dragging Mails out of Outlook, Outlook uses a different format (CFSTR_FILEDESCRIPTORW and such, virtual files) Firefox doesn't support while Edge and Chrome do. So even if the final result would be a .msg file on disk, it is not so when dragging to a web app. One could argue that Firefox sticks with the standard and Microsoft should change Outlook instead (Lotus did), they simply won't. So the current situation is that you cannot drag Outlook messages to your web app while in Edge (including the Legacy one) and Chrome it is possible without fuss. The only workaround are Outlook plugins like https://tonyfederer.github.io/OutlookFileDrag/ and such, but these hack into the internal Windows APIs, store the message on disk first and deliver a physical file afterwards. For 99.9 of enterprise customers, that is not a viable solution because of security issues, along with side effects inside Outlook. All in all, for any web app that has to deal with Outlook files somewhere, Firefox is no viable alternative anymore altogether. This is a real PITA as it was our recommended platform for years and the browser we still use in development because of the telemetry concerns of the others, but unless Mozilla recognizes that this is a real important issue and not an edge case and goes beyond the HTML5 standard here too, they're more or less out of the enterprise market and that is a pity. So far, Edge has won this field.
HTH,
-- Ch.
Comment 33•4 years ago
|
||
(In reply to C. Bollmeyer from comment #32)
(In reply to schlesier from comment #31)
Hi,
i have the same problem with a customer only in firefox.
I would understand why it works in this fiddle (from https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/files):
https://jsbin.com/hiqasek/edit?html,js,output
https://jsfiddle.net/9C2EF/There is only a div with on-Events.
I copy the div and the javascript but it don´t work.Can anyone explain it?
Maybe I don't understand the problem correctly, but as I see it, the Fiddles work when dragging files from Explorer, but not from Outlook. That is because Firefox only supports HTML5 drag/drop and expects a CF_HDROP flavor, that is, a physical file. When dragging Mails out of Outlook, Outlook uses a different format (CFSTR_FILEDESCRIPTORW and such, virtual files) Firefox doesn't support while Edge and Chrome do. So even if the final result would be a .msg file on disk, it is not so when dragging to a web app. One could argue that Firefox sticks with the standard and Microsoft should change Outlook instead (Lotus did), they simply won't. So the current situation is that you cannot drag Outlook messages to your web app while in Edge (including the Legacy one) and Chrome it is possible without fuss. The only workaround are Outlook plugins like https://tonyfederer.github.io/OutlookFileDrag/ and such, but these hack into the internal Windows APIs, store the message on disk first and deliver a physical file afterwards. For 99.9 of enterprise customers, that is not a viable solution because of security issues, along with side effects inside Outlook. All in all, for any web app that has to deal with Outlook files somewhere, Firefox is no viable alternative anymore altogether. This is a real PITA as it was our recommended platform for years and the browser we still use in development because of the telemetry concerns of the others, but unless Mozilla recognizes that this is a real important issue and not an edge case and goes beyond the HTML5 standard here too, they're more or less out of the enterprise market and that is a pity. So far, Edge has won this field.
HTH,
-- Ch.
Thank you for your comment!
But it works from outlook, you can try it. Just drag a mail to the fiddle and there is a file-Object in the "event.DataTransfer.files"-List.
Maybe there is some magic JavaScript like jQuery that make it possible. I would like to understand it.
Comment 34•4 years ago
|
||
(In reply to schlesier from comment #33)
(In reply to C. Bollmeyer from comment #32)
(In reply to schlesier from comment #31)
Hi,
i have the same problem with a customer only in firefox.
I would understand why it works in this fiddle (from https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/files):
https://jsbin.com/hiqasek/edit?html,js,output
https://jsfiddle.net/9C2EF/There is only a div with on-Events.
I copy the div and the javascript but it don´t work.Can anyone explain it?
Maybe I don't understand the problem correctly, but as I see it, the Fiddles work when dragging files from Explorer, but not from Outlook. That is because Firefox only supports HTML5 drag/drop and expects a CF_HDROP flavor, that is, a physical file. When dragging Mails out of Outlook, Outlook uses a different format (CFSTR_FILEDESCRIPTORW and such, virtual files) Firefox doesn't support while Edge and Chrome do. So even if the final result would be a .msg file on disk, it is not so when dragging to a web app. One could argue that Firefox sticks with the standard and Microsoft should change Outlook instead (Lotus did), they simply won't. So the current situation is that you cannot drag Outlook messages to your web app while in Edge (including the Legacy one) and Chrome it is possible without fuss. The only workaround are Outlook plugins like https://tonyfederer.github.io/OutlookFileDrag/ and such, but these hack into the internal Windows APIs, store the message on disk first and deliver a physical file afterwards. For 99.9 of enterprise customers, that is not a viable solution because of security issues, along with side effects inside Outlook. All in all, for any web app that has to deal with Outlook files somewhere, Firefox is no viable alternative anymore altogether. This is a real PITA as it was our recommended platform for years and the browser we still use in development because of the telemetry concerns of the others, but unless Mozilla recognizes that this is a real important issue and not an edge case and goes beyond the HTML5 standard here too, they're more or less out of the enterprise market and that is a pity. So far, Edge has won this field.
HTH,
-- Ch.Thank you for your comment!
But it works from outlook, you can try it. Just drag a mail to the fiddle and there is a file-Object in the "event.DataTransfer.files"-List.
Maybe there is some magic JavaScript like jQuery that make it possible. I would like to understand it.
No, unfortunately it does not. Both Fiddles state "File Count: 0" after dropping a mail from Outlook to Firefox. Obviously the handler gets called, but the dataTransfer object is empty and does not contain any file data (which is expected if the d&d flavor is not recognized). If you drag a file from the desktop, it correctly retrieves that info. Latest Firefox (94.0) and Outlook (365 standalone) here. If I drag&drop the same message to the Fiddle in Edge, it works as wished for:
File Count: 1
File 0:
(object) : <[object File] > Bug 580928 Drag and Drop support for E-Mails from Microsoft Outlook.msg 157184
In Firefox, it does not.
-- Ch.
Comment 35•4 years ago
|
||
Strange, I could have sworn it worked yesterday. But I probably had too many browsers open. Anyway, thanks for the replies. Let's wait and see if Mozillla changes anything next year.
Assignee | ||
Comment 37•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 38•3 years ago
|
||
Comment on attachment 9295144 [details]
Bug 580928 - Add support for Drag and Drop with Outlook items. r?cmartin
I rebased the patch and fixed any compiler errors caused by its age. Also, I tried to address the feedback from the most recent review on this bug to the best of my ability, although I am not a C++ developer.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment hidden (metoo) |
Comment 41•3 years ago
|
||
In 1800617 should this bug be fixed, but with which version of firefox will this fix be released? I have tested with the current version of firefox (v. 108), beta (v.109.0b2) and nightly (v.110.0a1) and the problem still exists (mails or attachments from mails from outlook cannot be dropped into input field in firefox)
Best regards
Comment 42•3 years ago
|
||
This bug hasn't been fixed in any version of Firefox. We are currently waiting on marco.spiess to address the last review feedback.
Updated•3 years ago
|
Updated•3 years ago
|
Comment hidden (advocacy) |
Comment 44•3 years ago
|
||
I've found a temporary solution for this problem. Unfortunately it is not for free. You can take a look for yourself at www.dragdrop.com. It's company located in the Netherlands which created this software.
Nevertheless the Mozilla-Foundation should try to fix this issue and catch up with the two other browser competitors Edge and Chrome which supports this out of the box.
Updated•3 years ago
|
Updated•2 years ago
|
Comment 47•2 years ago
|
||
Would be nice to get this done and it seems there isn't much left to do. Marco did you see the last few review comments?
Updated•2 years ago
|
Updated•2 years ago
|
Comment 48•2 years ago
|
||
Comment 49•2 years ago
|
||
bugherder |
Comment 50•2 years ago
|
||
Hooray, thank you very much for driving this cross the completion line, marco.spiess !!!
Comment 51•2 years ago
|
||
+1. It's great to see this fixed. I hope someone on Windows with Outlook can confirm that this is working after this makes it into Nightly in a few hours.
Comment 52•2 years ago
|
||
I'm thinking we'll want to call this out in the Fx113 relnotes. Can you please nominate it when you get a chance?
Comment 53•2 years ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: It's a 13-year-old feature that a fair amount of enterprise users have requested.
[Affects Firefox for Android]: No
[Suggested wording]: A 13-year-old feature request was fulfilled, and Firefox now supports files being drag-and-dropped directly from Microsoft Outlook. A special thanks to volunteer contributor Marco Spiess for getting this across the finish line!
[Links (documentation, blog post, etc)]:
Comment 54•2 years ago
•
|
||
I also would like to thank Marco personally on here. Thank you for fixing this, and for putting up with my code review 😂. I think it turned out very well 😀
Comment 55•2 years ago
|
||
(In reply to Tom S [:evilpie] from comment #51)
+1. It's great to see this fixed. I hope someone on Windows with Outlook can confirm that this is working after this makes it into Nightly in a few hours.
I just played with it with the testcase https://bugzilla.mozilla.org/attachment.cgi?id=459348 . And yes, it works well :)
Assignee | ||
Comment 56•2 years ago
|
||
No need to thank me! The gratitude should be directed towards michael.schoendorfer for laying the groundwork and towards all the reviewers for putting up with my nonsense 😂
And special thanks to Martin for seeing this thing through to the end 🙂
Description
•