Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56921 - Thunderbird downloads links from emails instead of passing on the URL
Summary: Thunderbird downloads links from emails instead of passing on the URL
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-13 10:02 UTC by Shaun Crampton
Modified: 2006-02-05 10:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun Crampton 2004-07-13 10:02:09 UTC
If I click a link in an email in Thunderbird it displays the "You have chosen to open ... which is a html page, what would you like to do..." dialog. I want it to open the link in a browser but if for example i select konqueror then thunderbrd downloads the file to eg /tmp/blah.html and this is what konqueror opens as file://tmp/blah.html

Reproducible: Always
Steps to Reproduce:
1. Open thunderbird
2. Click 'Thunderbird Help'
3.
Comment 1 Patrick Dawson (RETIRED) gentoo-dev 2004-07-13 11:01:45 UTC
You want to add, for example:

user_pref("network.protocol-handler.app.http", "/usr/kde/3.2/bin/konqueror");

to ~/.thunderbird/default.pqx/user.js
Comment 2 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-08-04 10:33:45 UTC
more info at http://www.mozilla.org/projects/thunderbird/linuxurls.html

seems like upstream is already working on this.
Comment 3 James Dominy 2004-10-18 05:35:12 UTC
Once a link is downloaded, you get the "Open With" dialog. If I point this to to '/usr/bin/firefox' it appears as '/usr/libexec/mozilla-lancher' in the dialog. Thunderbird seems to follow the symlink automatically, which presents a slight problem...

The mozilla-launcher script itself checks how it was called (i.e. argument 0) to determine which browser exactly is being started, which means that when exectuted directly (i.e. not thorugh a named symlink) it can't determine which binary to execute. Instead it outputs the message 

/usr/libexec/mozilla-launcher: unknown browser

I guess one actually has to make thunderbird not automatically follow the symlink, but I have no idea how to do this...

Otherwise, is ther a way to set a default browser for the mozilla-launcher script
Comment 4 James Dominy 2004-10-18 07:03:47 UTC
Actually, having patched the mozilla-launcher script to revert to an environment specified 'default browser' it becomes obvious that this (the mozilla-launcher script) is not the only problem. Pardon me. When the script is forced to run /usr/bin/firefox then thunderbird downloads the link, saves it to /tmp, and runs firefox using the URL file:///tmp/xyz pointing to whatever it has just downloaded. 
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-02-05 10:53:23 UTC
Not a Gentoo-specific bug, if this is still an issue, it's an upstream one.