(In reply to Magnus Melin [:mkmelin] from comment #20) > I think it's used when dragging an attachment (any attachment) out of Thunderbird, e.g. to the desktop I've set [mailCore.js::messenger.saveAttachmentToFolder 3rd arg](https://searchfox.org/comm-central/rev/8d258916e1367d6c1a08d7225781cde9fc769136/mail/base/content/mailCore.js#984) to "foo.pdf" and added a breakpoint at nsMessenger::SaveAttachmentToFolder. This method is not called in the drag and drop operation from the file system to Thunderbird or the other way around from Thunderbird to file system under Win10.
Bug 1746139 Comment 21 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Magnus Melin [:mkmelin] from comment #20) > I think it's used when dragging an attachment (any attachment) out of Thunderbird, e.g. to the desktop I've set [mailCore.js::messenger.saveAttachmentToFolder 3rd arg](https://searchfox.org/comm-central/rev/8d258916e1367d6c1a08d7225781cde9fc769136/mail/base/content/mailCore.js#984) to "foo.pdf" and added a breakpoint at nsMessenger::SaveAttachmentToFolder. This method is not called in the drag and drop operation from the file system to Thunderbird or the other way around from Thunderbird to file system under Win10. The filename wasn't set to "foo.pdf" and the breakpoint wasn't hit. I'd really like to see where this applies before making changes.
(In reply to Magnus Melin [:mkmelin] from comment #20) > I think it's used when dragging an attachment (any attachment) out of Thunderbird, e.g. to the desktop I've set [mailCore.js::messenger.saveAttachmentToFolder 3rd arg](https://searchfox.org/comm-central/rev/8d258916e1367d6c1a08d7225781cde9fc769136/mail/base/content/mailCore.js#984) to "foo.pdf" and added a breakpoint at nsMessenger::SaveAttachmentToFolder. This method is not called in the drag and drop operation from the file system to Thunderbird or the other way around from Thunderbird to file system under Win10. The filename wasn't set to "foo.pdf" and the breakpoint wasn't hit. I'd really like to see where this applies before making changes. (Well a build wihout the nsFlavorDataProvider deleted had the same behaviour. No error and the attachment was succefully drag and dropped to the filesystem.)
(In reply to Magnus Melin [:mkmelin] from comment #20) > I think it's used when dragging an attachment (any attachment) out of Thunderbird, e.g. to the desktop I've set [mailCore.js::messenger.saveAttachmentToFolder 3rd arg](https://searchfox.org/comm-central/rev/8d258916e1367d6c1a08d7225781cde9fc769136/mail/base/content/mailCore.js#984) to "foo.pdf" and added a breakpoint at nsMessenger::SaveAttachmentToFolder. This method is not called in the drag and drop operation from the file system to Thunderbird or the other way around from Thunderbird to file system under Win10. The filename wasn't set to "foo.pdf" and the breakpoint wasn't hit. I'd really like to see where this applies before making changes. (Well a build wihout the nsFlavorDataProvider deleted had the same behaviour. No error and the attachment was succefully drag and dropped to the filesystem.) Just figured out that it does something. It makes it possible to get attachement from e.g. an imap source.
(In reply to Magnus Melin [:mkmelin] from comment #20) > I think it's used when dragging an attachment (any attachment) out of Thunderbird, e.g. to the desktop I've set [mailCore.js::messenger.saveAttachmentToFolder 3rd arg](https://searchfox.org/comm-central/rev/8d258916e1367d6c1a08d7225781cde9fc769136/mail/base/content/mailCore.js#984) to "foo.pdf" and added a breakpoint at nsMessenger::SaveAttachmentToFolder. This method is not called in the drag and drop operation from the file system to Thunderbird or the other way around from Thunderbird to file system under Win10. The filename wasn't set to "foo.pdf" and the breakpoint wasn't hit. I'd really like to see where this applies before making changes. (Well a build wihout the nsFlavorDataProvider deleted had the same behaviour. No error and the attachment was succefully drag and dropped to the filesystem.) Just figured out that it does something. It makes it possible to get attachement from e.g. an imap source. But you can't touch the name here seems to be some safety from somewhere.