Closed Bug 1455429 Opened 7 years ago Closed 2 years ago

Drag and drop of message(s) to Desktop and Finder stopped working in macOS High Sierra

Categories

(Thunderbird :: OS Integration, defect)

52 Branch
Unspecified
macOS
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lee.binder, Unassigned)

Details

Attachments

(2 obsolete files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180323154952 Steps to reproduce: TB 52.7.0, macOS High Sierra 10.13.4. Neither dragging an email to the Desktop nor into a Finder window works anymore. I see the drag handler, even the Finder window signals activation with the blue highlight frame, but on drop nothing happens. Drag & drop of an attachment to Desktop and Finder windows does still work, so it is no permission issue. This also does not work anymore in a brand-new profile with no add-ons. Neither does it matter if the email is in the Inbox or in Sent. This worked before in older versions of TB in older versions of OS X. This happens to be the first version of TB I run in High Sierra. Not sure if this bug also occurs in macOS Sierra and below with TB 52.7.0. Same bug with TB 45.8.0 and 60.0b3, but working fine as always with TB 52.7.0 32bit in Windows 10 64 bit. For now I am right clicking, Save as. I'm willing to receive a beta version for testing if needed. Thank you for looking into this. Actual results: Nothing Expected results: email message visible where dragged (Finder or Desktop) as .eml file.
Richard, can you confirm?
Flags: needinfo?(richard.marti)
Yes, doesn't work with TB 52 and Daily.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(richard.marti)
Hello Richard, Jorg I again tried to drag/ drop as used to from Windows and realized this still is not working in TB 52.9.1. Bummer. Is it possible to assign this bug? Since drag & drop of an attachment works, the code is known, and it might be a really quick copy/ paste of the correct code from the attachment code module. I am willing to beta test. Ever grateful for your work on Thunderbird Lee
How about TB 60 available now at www.thunderbird.net?
oh, thanks for the pointer, I was not aware it's already out in the release channel (did not appear as update from within TB yet). Downloaded, tested - no, regression remains :( It looks as if this bug won't get resolved unless assigned.
Sadly we don't have (m)any Mac developers. If I read comment #0 correctly, none of TB 45, TB 52 and TB 60 work on macOS High Sierra 10.13.4, whereas the feature works on other version on macOS. So it's not that we broke drag&drop at some stage, which would be a regression, it more like *all* TB version are incompatible with "High Sierra". Correct? NI'ing a Mac developer who might be able to help.
Flags: needinfo?(foss)
Keywords: regression
No, not correct. ALL 10.13.5+ (Sierra, High Sierra) related code incompatibilities got solved, incl. drag/ drop to Finder (incl. Desktop). I remember drag/ drop attachment was not working either with some older version of TB in High Sierra I was still using first (45.8.0). Updated to the latest from the 50s line, drag/drop attachment to Finder worked. It's just that the refined code from the attachment module was never implemented to the code for the mail window (Inbox, Sent etc.), that's it. Hope it's all clear now :)
I am no longer willing to collaborate on this project. Thank you, Jorg, for considering me to help here.
Flags: needinfo?(foss)
Severity: normal → S3

Monterey 12.5 using Thunderbird 109 beta fails ...

21:57:54.105 Uncaught
Exception { name: "NS_ERROR_FAILURE", message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITransferable.getTransferData]", result: 2147500037, filename: "chrome://messenger/content/msgMail3PaneWindow.js", lineNumber: 1853, columnNumber: 0, data: null, stack: "getFlavorData@chrome://messenger/content/msgMail3PaneWindow.js:1853:19\n", location: XPCWrappedNative_NoHelper }
msgMail3PaneWindow.js:1853

OS: Unspecified → macOS

wow, thank you b8 and the Betterbird team !!

Attachment #9331106 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9331106 [details] [diff] [review] 1455429-fix-drag-msg-to-folder-mac.patch Review of attachment 9331106 [details] [diff] [review]: ----------------------------------------------------------------- I don't have a mac to test. But, threadPane.js is basically dead code by now (used in the search dialog only)
Attachment #9331106 - Flags: review?(mkmelin+mozilla) → review-

Comment on attachment 9331106 [details] [diff] [review]
1455429-fix-drag-msg-to-folder-mac.patch

Thanks for checking the patch. We can confirm that ThreadPaneOnDragStart (threadPane.js) is not invoked when dragging from the thread pane. It is invoked when dragging from the folder search dialogue, and that drag is broken. Is there a bug for it?

Attachment #9331106 - Attachment is obsolete: true

Please try on Mac.

Attachment #9331364 - Flags: feedback?(richard.marti)

Comment on attachment 9331364 [details] [diff] [review]
1455429-fix-drag-msg-to-folder-mac.patch

With actual Daily I can dnd messages to the desktop or Finder but not attachments. The patch makes it worse and dnd of messages fails too.

Attachment #9331364 - Flags: feedback?(richard.marti) → feedback-

Comment on attachment 9331364 [details] [diff] [review]
1455429-fix-drag-msg-to-folder-mac.patch

Thanks for testing. I dragging messages to the OS desktop or OS folder works, this bug can be closed. Can someone please file a bug for not being able to drag attachments to the desktop. That works on Windows.

Attachment #9331364 - Attachment is obsolete: true

We have bug 1827685

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: