Mac OS X / Thunderbird. How do I change the application that files dragged out of Thunderbird open in?

0

0

If I drag an attachment out of Thunderbird onto the desktop and then double click it, it always opens in HexEdit which is almost certainly not what I want. I have to use right click -> open with on them.

If I can't make it open with the expected application can I at least change it to Preview which is likely to be right more often.

EDIT:

This affects all file types. XLS, PDF, JPG, ZIP, whatever.

Also, it's only Thunderbird. Downloading in Firefox or Safari or FTP or whatever produces files that open in the correct app when double clicked.

EDIT 2:

I had the computer affected stolen :( and can't reproduce the problem on my replacement. I guess I'll have to chalk this one up to a bug in Thunderbird that has probably been fixed.

Gareth Simpson

Posted 2009-07-23T15:17:47.590

Reputation: 77

What version of Thunderbird are you running, and do you have any extensions installed? (If so, which ones?) – arathorn – 2009-08-19T17:28:07.633

1Wow, stolen, what are the odds. :-( Still, please accept mpbloch's or Jonik's answer then? (Or any answer you like, of course.) – Arjan – 2009-08-20T20:34:07.047

Are all the files of the same type? JPG, PNG, etc.? – Andrew Scagnelli – 2009-07-23T15:25:54.377

Answers

1

The behavior you are experiencing might be a bug. When you are dragging the attachment out of Thunderbird, it may not be setting the properties of the drag item properly for setting the file handler.

Typically, the Thunderbird UI is not as rapidly advanced as the Firefox UI. Make sure you are running the latest version of Thunderbird, then, search on https://bugzilla.mozilla.org/ to see if anyone has reported this. If not, file a bug.

maxwellb

Posted 2009-07-23T15:17:47.590

Reputation: 935

1

You might want to take a look at this:

http://www.rubicode.com/Software/RCDefaultApp/

I use it under Leopard 10.5.7 and it works fine.

Martin Marconcini

Posted 2009-07-23T15:17:47.590

Reputation: 1 409

Do you use it as a workaround for the very same Thunderbird issues? I wonder if changing the default application would help here. – Arjan – 2009-08-20T09:56:42.513

0

I doubt it will help you, but the "Open with" setting is stored in the resource fork. You can kind of display it using the following command from Terminal, replacing FILENAME with your file:

xattr -p com.apple.ResourceFork FILENAME | hexdump -C

If that indeed shows some reference to your Hex editor then Thunderbird has messed up. If you don't see any reference to your Hex editor, or if it claims No such xattr: com.apple.ResourceFork, then somehow your Mac uses that Hex editor given the file's metadata attributes. Show that metadata using:

mdls FILENAME

...and compare it to the metadata of a file that opens as expected. Maybe kMDItemContentType, kMDItemContentTypeTree or kMDItemKind show something odd?

(Some shameless plug for Apple Mail, and surely not an answer to your question, so just in case you cannot fix it and are considering if you should kiss Thunderbird goodbye: Apple Mail works fine with the Energy Saver –Thunderbird always kept my Macs from sleeping, but haven't used it for 3 years– and is Time-Machine-aware. When entering Time Machine while Mail is active, you'll get the galaxy thingy for Mail rather than for Finder. You can then even find messages for accounts that don't exist anymore, and to restore them you don't need to know how Mail stores the messages on your hard disk.)

Arjan

Posted 2009-07-23T15:17:47.590

Reputation: 29 084

0

For what it's worth, I cannot reproduce this problem using Thunderbird 2.0.0.22 (20090605), i.e. the latest version, on Mac OS X 10.5.7. I tested with a couple of file types like JPG and ZIP, and it works fine.

What version are you using? If not the latest, upgrade and try again.

Also, it may be worth trying with a new Thunderbird profile, in case some config files in your current profile are corrupted. Instructions for creating a new profile. (Something going awry in the profile files has traditionally been relatively common, at least in alpha/beta versions, in other Gecko-based apps like Firefox and Mozilla.)

One more thing that comes to mind: do you have any (exotic) add-ons installed? If nothing else helped, try disabling those.

Jonik

Posted 2009-07-23T15:17:47.590

Reputation: 5 352