Bug 557729

Summary: Thunderbird does not open links in chrome
Product: [Fedora] Fedora Reporter: Felix Möller <mail>
Component: xdg-utilsAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: gecko-bugs-nobody, pertusus, rdieter, rvcsaba
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-09 19:59:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Felix Möller 2010-01-22 12:16:58 UTC
I use chrome as my default browser. All application respect that (i.e. clicking on a link in the updater applet, or empathy open that page in chrome.)

Thunderbird somehow ignores it. It opens a chrome window but does not open the right URL in it, but just the start page. Looking into it I found that it should execute /usr/lib/thunderbird-3.0/open-browser.sh. But after adding some debug statements to that I had to realize this is not executed at all.

Searching further I found http://www.google.com/support/forum/p/Chrome/thread?tid=479e566824181986&hl=en which suggest that other Fedora users have the same problem.

Comment 1 rvcsaba 2010-01-22 18:18:26 UTC
Please see my bugreport! :)

https://bugzilla.redhat.com/show_bug.cgi?id=557599

Comment 2 Felix Möller 2010-01-22 18:27:31 UTC
strange. For me the setting of the default browser had an influence. I made chrome to the default browser by clicking a button in chromes option panel. 
So it is not using firefox constantly as in your case...

The problem is that the URL gets not passed correctly to chrome and that /usr/lib/thunderbird-3.0/open-browser.sh is not executed at all.

Comment 3 rvcsaba 2010-01-22 22:42:29 UTC
Oh...

gconf-editor

Edit menu, Find...

Type Search for: url-handlers

Click OK

Edit /desktop/gnome/url-handlers/http/command to xdg-open "%s"
Edit /desktop/gnome/url-handlers/https/command to xdg-open "%s"
Edit /desktop/gnome/url-handlers/ftp/command to xdg-open "%s"

:)

Comment 4 Felix Möller 2010-01-23 00:36:14 UTC
The problem might be on chromes side:

Chrome seems to set the following when it wants to be the default browser.
[fm@thinkpad ~]$ gconftool-2 --get /desktop/gnome/url-handlers/http/command
/opt/google/chrome/google-chrome

It does work after changing to the following:
[fm@thinkpad ~]$ gconftool-2 --get /desktop/gnome/url-handlers/http/command
/opt/google/chrome/google-chrome "%s"

The upstream report is at http://code.google.com/p/chromium/issues/detail?id=23973

Comment 5 Felix Möller 2010-01-30 10:43:12 UTC
according to upstream. xdg-utils have to be updated.

Although I am still wondering why just thunderbird needs the %s ...

Comment 6 Felix Möller 2010-01-30 10:47:19 UTC
xdg upstream has commited the patch by google. See http://webcvs.freedesktop.org/portland/portland/xdg-utils/

Comment 7 Rex Dieter 2010-04-09 19:58:43 UTC
Gotcha.

Comment 8 Rex Dieter 2010-04-09 19:59:46 UTC

*** This bug has been marked as a duplicate of bug 580715 ***