Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288490 - Links in thunderbird will not open mozilla-firefox-3.5.3
Summary: Links in thunderbird will not open mozilla-firefox-3.5.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor with 1 vote (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-10 21:52 UTC by Renato Alves
Modified: 2010-04-11 21:26 UTC (History)
10 users (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 Renato Alves 2009-10-10 21:52:09 UTC
This issue was already addressed for mozilla-firefox-bin in the Bug 229227.

I can now reproduce it with:
mail-client/mozilla-thunderbird-2.0.0.23
www-client/mozilla-firefox-3.5.3

Editing /usr/bin/firefox and adding "unset LD_PRELOAD" on line 2 fixes the problem.

Reproducible: Always
Comment 1 Joseph D. Wieber, Jr. 2009-10-22 20:13:01 UTC
I had the same problem and your modification to /usr/bin/firefox worked for me. I have:
mail-client/mozilla-thunderbird-2.0.0.23
www-client/mozilla-firefox-3.5.2

Comment 2 Joseph D. Wieber, Jr. 2009-10-27 15:46:44 UTC
I just updated my system and now have www-client/mozilla-firefox-3.5.3-r1. I'm back to the original problem where thunderbird can't launch, or create a new tab in firefox for a clicked link. Now however, the problem cannot be fixed by editing /usr/bin/firefox because the shell script that was once there is now an elf binary. Outstanding. Is there another workaround?
Comment 3 Philip Taffner 2009-11-04 16:58:55 UTC
I created a little script ~/launch-firefox

#!/bin/sh
unset LD_PRELOAD
exec /usr/bin/firefox "$@"

and edited the pref.js file in my thunderbird profile to run this script instead of firefox.

~/.thunderbird/fuuqppve.default $ grep network.protocol-handler.app.http prefs.js
user_pref("network.protocol-handler.app.http", "/home/sabel/launch-firefox");
user_pref("network.protocol-handler.app.https", "/home/sabel/launch-firefox");

works for me!
Comment 4 Mike Nerone 2009-11-29 19:09:56 UTC
Dupe of bug #229227, methinks.
Comment 5 Mike Nerone 2009-11-29 19:11:58 UTC
Sorry, I meant dupe as in "same problem", not as in "close this bug" (especially since that bug is already closed).
Comment 6 Navid Zamani 2009-12-09 12:59:55 UTC
Uuum, I get this problem, when I just updated Firefox and haven’t closed TB or Firefox in between. I can solve it by really restarting both apps. (Look if the processes are *really* gone.)

Please check if it’s not just that. :)
Comment 7 Renato Alves 2009-12-09 15:21:41 UTC
@Navid

The computer was restarted several times since the last update. The problem is not related to this.

@Mike

Indeed, as you can confirm, a reference to that bug was already included in the first comment. But it's still reproducible in the mentioned versions.

--

It's also still reproducible in the latest stable versions in the tree.
Comment 8 Omar Saleem 2009-12-10 01:36:06 UTC
i've had this problem for aaages now
unfortunately i can't use the abovementioned workarounds because i need LD_PRELOAD to load v4l2convert.so...this is a really annoying problem as if i forget and click a link in thunderbird, it creates a "firefox" process that doesn't do anything and kind of just sits there
Comment 9 tyctor 2010-01-26 12:18:30 UTC
i have same problem
client versions:
www-client/mozilla-firefox-3.5.6
mail-client/mozilla-thunderbird-3.0-r1

workaround with unset LD_PRELOAD from comment 3 is not working for me.

Comment 10 DEMAINE Benoît-Pierre, aka DoubleHP 2010-01-29 03:32:02 UTC
(In reply to comment #9)
> workaround with unset LD_PRELOAD from comment 3 is not working for me.
> 

Make sure you do the unset thing in a <<firefox script>>, and NOT in the console where you start TB.

I did unset in the console where I start TB, and this broke things even worse.

I make a script called /usr/bin/firefox.sh, containing

#!/bin/sh
unset LD_PRELOAD
exec /usr/bin/firefox "$@"

and it worked for me. Don't forget to chmod +x the script.
Comment 11 Daniel Pielmeier gentoo-dev 2010-03-06 13:03:48 UTC
thunderbird-3.0.3 asks which app it should use if a link or attachment is clicked for the first time. The settings will be saved under Preferences -> Attachments so you can change the settings later.
Comment 12 Jory A. Pratt gentoo-dev 2010-03-22 01:28:42 UTC
(In reply to comment #11)
> thunderbird-3.0.3 asks which app it should use if a link or attachment is
> clicked for the first time. The settings will be saved under Preferences ->
> Attachments so you can change the settings later.
> 

This is correct. Closing bug as 3.0.3 is current stable.
Comment 13 Rémi Cardona (RETIRED) gentoo-dev 2010-04-06 20:43:18 UTC
Reopening, this is not fixed and I there's nothing to test (is there?).

Oh, and btw: me too

Cheers
Comment 14 Renato Alves 2010-04-06 23:48:06 UTC
I'm abandoning this bug since I no longer use the versions mentioned in the initial report.

In addition, this has been fixed in thunderbird-3.x by providing the user an option to select the application that should handle links (be it http, https, ftp or other) and also attachments.

thunderbird-2.x is now obsolete and it's not being developed any further. You are encouraged to upgrade to 3.x.

To me it's a WONTFIX situation if you consider 2.x series or FIXED if you refer to 3.x

I leave the final decision to the maintainers.
Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2010-04-07 05:28:48 UTC
I _am_ using thunderbird 3.x...
Comment 16 Renato Alves 2010-04-07 13:09:57 UTC
Can you elaborate a little on the specific versions of both thunderbird and firefox you are using?

Also, can you try creating a new profile by launching thunderbird with:

$ thunderbird -ProfileManager

Since my initial post is no longer valid/up-to-date, try to be as descriptive as possible in the steps you do in setting up firefox to open the http links in the new profile.

Thanks
Comment 17 Jory A. Pratt gentoo-dev 2010-04-11 21:26:25 UTC
Spoken with remi on -dev channel and says he is unable to reproduce with latest versions.