outlook.office.com - drag and drop attachments not working
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Webcompat Priority:P1, firefox99 wontfix, firefox100 wontfix, firefox101 affected)
Webcompat Priority | P1 |
People
(Reporter: amandaveenhuis, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0
Steps to reproduce:
Using Outlook in browser. Create a new message, drag attachment into message.
Actual results:
Attachment can only be attached through attach button
Expected results:
Able to drag and drop attachments into the draft email message.
Actual behavior
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Copy & Paste and Drag & Drop' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
There seem to be several browser-specific handling in various places if I search "userAgent" in the source code. So I wonder if outlook does something differently for firefox in this case.
Karl, can we have your team member to look into a bit to understand what's up here? Thank you.
Comment 3•3 years ago
|
||
To maybe put a time frame on this:
- April 4 at 07:31 UTC - posted on Mozilla Connect
- April 4 at 07:51 UTC - posted on r/Firefox
Comment 4•3 years ago
|
||
I can confirm the bug from linux Firefox Developer edition v 100.0b2 (64 bit):
UA: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0.
Comment 5•3 years ago
|
||
Managed to reproduce this on macOS 11.06, Windows 10 x64 and on Ubuntu 20.04 x64.
![]() |
||
Comment 6•3 years ago
|
||
When I put over the message I get
13:58:24.290 dragenter 2 react-dom.production.min.js:73:408
13:58:25.820 dragover 434 react-dom.production.min.js:73:408
13:58:25.822 dragleave 2 react-dom.production.min.js:73:408
There is specific code for Firefox in their onDrop
// OnDrop event handler
onDrop = (dragEvent: React.DragEvent<HTMLElement>) => {
if (this.props.preventBubblingDragEvents) {
dragEvent.stopPropagation();
}
let dragData = this.getDragData(dragEvent);
// Need this, otherwise FireFox gets redirected.
if (dragData?.itemType != DEFAULT_ITEM_TYPE) {
dragEvent.preventDefault();
}
if (this.getDesiredDropEffect(dragData) == 'none') {
return;
}
this.props.onDrop(dragData, dragEvent.pageX, dragEvent.pageY, dragEvent.currentTarget);
// TODO VSO 13903: Some times components need extra info to determine if the dropping action is on the component itself
// or another component which shares the same store object
// We call this callback here to allow the component do some extra work.
if (this.props.onDragLeave) {
this.props.onDragLeave(dragData, dragEvent.currentTarget);
}
this.cancelPendingDragLeaveHandler();
// Strict mode was enabled in this package. See aka.ms/client-web-strict-mode for details.
// -> Error TS2345 (232,28): Argument of type 'null' is not assignable to parameter of type 'string'.
// @ts-expect-error
setDragItemDetails(null, null);
// Strict mode was enabled in this package. See aka.ms/client-web-strict-mode for details.
// -> Error TS2345 (236,70): Argument of type 'null' is not assignable to parameter of type 'string'.
// @ts-expect-error
setDropState(this.props.dropViewState, false /*isDragOver*/, null /*draggableItemType*/);
};
Interesting thing I can drop an image in the To: field.
I haven't found yet why it was failing.
Comment 10•3 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 3 duplicates.
:hsinyi, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 11•3 years ago
|
||
Copied the keyword "webcompat:site-wait " from bug 1763535
Comment 12•3 years ago
|
||
The severity is not so low for someone using drag and drop attachments on everyday, every few minutes basis.
I work with Ubuntu Firefox on company-imposed outlook webmail and all my mail has to go through it.
Please consider raising the severity. Many thanks.
Comment 13•3 years ago
|
||
The serverity is not low at all ... Many users in my compagny use firefox with OWA every day and all day long ... this bug is very penalizing for them.
Updated•3 years ago
|
Comment 14•3 years ago
|
||
Agreed. This is not inconsequential. Waste a huge amount of time finding files within deep folder structures. Hopefully fixed soon.
Comment 16•3 years ago
|
||
Karl / Dennis,
Sorry for the ping again.
I am thinking if there's anything we can do while we're waiting for responses from the microsoft/outlook team? Thank you.
Comment 17•3 years ago
|
||
(In reply to Marc Ferandin from comment #13)
The serverity is not low at all ... Many users in my compagny use firefox with OWA every day and all day long ... this bug is very penalizing for them.
I agree with Marc Ferandin and kieradoolabh, I always use Outlook OWA and this bug is a complete waste of time. I hope the solve it soon just no to change to a different browser.
If it is of any help, I create a question on the Microsoft Forum about this issue and other 12 people have marked that they have this problem too.
(It is in spanish though)
Comment 18•3 years ago
|
||
Folks, we know that this is broken. :) And while I understand that this is frustrating, posting "me-too" comments isn't the way to go, it sadly won't make anything faster.
I've just heard back from Microsoft, and they are actively working on a fix that might be ready next week. I'll update this bug as soon as we know more!
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #16)
Sorry for the ping again.
I am thinking if there's anything we can do while we're waiting for responses from the microsoft/outlook team? Thank you.
Given Microsoft is actively working here, the best thing is probably to wait for them. I'll keep my needinfo active, hoping I can dig a bit deeper into their code and maybe figure out what's actually causing this (i.e. if there is an underlying Firefox bug we should fix), but debugging events inside React sources has been proven surprisingly difficult in previous cases, so no promises here.
Comment 19•3 years ago
|
||
Thank you Dennis for following this up with microsoft. I wasn't clearly sure if they have been working on it. :)
Comment 20•3 years ago
|
||
Setting WebCompat P1 for now, Microsoft is actively working on it.
Updated•3 years ago
|
Comment hidden (metoo) |
Comment hidden (metoo) |
Comment 24•3 years ago
|
||
Related report/discussion:
Updated•3 years ago
|
Comment 25•3 years ago
|
||
The latest Firefox update (100.0.1) resolved the issue for me. I tested on 3 different machines and confirmed it to not work on v100.0 and then working on v100.0.1 We only tested using PDF files.
Comment 26•3 years ago
|
||
Its working again yay!!! tested it on firefox version 78 through 98 with .txt, pdf, jpg, and many other common file types. . Thank you all for fixing this!!!
Comment 27•3 years ago
|
||
YEAH BABY!!! Works for me in Nightly!!! ;-))
Comment 28•3 years ago
|
||
Can we get a peek at the RCA?! I'm serious! ;-))
Updated•3 years ago
|
Description
•