New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 8 users
Status: Archived
Owner: ----
Closed: Sep 2015
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment
Thunderbird doesn't use xdg-open, which means it doesn't open links with Chrome
Reported by luckysha...@gmail.com, Feb 18 2010 Back to list
Chrome Version (from the about:version page): 5.0.307.9 (Official Build 
39052) beta
Is this the most recent version: Yes
OS + version: Fedora 12
CPU architecture (32-bit / 64-bit): 64 Bit
Window manager: Nautilus
URLs (if relevant):
Behavior in Linux Firefox:
Doing the same under Firefox works perfectly fine.New tabs open up from 
links.

Behavior in Windows Chrome (if you have access to it):
N-A-

What steps will reproduce the problem?
1. Set Google chrome as the default browser.
2. open any link from Thunderbird.

What happens instead?
Clicking the links[URl] under Thunderbird 3 does not open the specified URL 
under Google Chrome, it just opens up a new session of Chrome with home 
page loaded.

The issue was also seen under Thunderbird 2 but was later on solved 
[http://tinyurl.com/yawfk38] , doing this under Thunderbird 3 does not 
help.

Please provide any additional information below. Attach a screenshot
and backtrace if possible.
To make things work fine, we need to set "Google Chrome" instead of 
"Custom"[as shown in attachment] as the browser under "System -> Preferred 
Applications -> Web Browsers"
Though the command under "Custom" calls Chrome, but its not capable of 
opening of new tabs.

 
Screenshot-Preferred Applications.png
30.0 KB View Download
Comment 1 by tony@chromium.org, Feb 23 2010
Labels: -Area-Undefined Area-Compat-System
What Linux distro are you running?
I'm with Fedora 12
Kernel : 2.6.31.12-174.2.19.fc12.x86_64
Same problem here, also on Fedora 12.

# rpm --qf "%{NAME}-%{VERSION}\n" -q thunderbird google-chrome-beta firefox control-
center kdebase
thunderbird-3.0.1
google-chrome-beta-5.0.307.9
firefox-3.5.6
control-center-2.28.1
kdebase-4.3.5

My primary desktop is KDE so I have included the KDE version number as well.
Comment 5 by karen@chromium.org, Feb 24 2010
Labels: Mstone-X
Comment 6 by evan@chromium.org, Feb 25 2010
Labels: -Mstone-X Mstone-5
Status: Untriaged
I think this is a dup of the "can't open urls via command line" bug, which I haven't 
yet looked into.
What happens when you run:

xdg-open http://www.google.com

from the command line?
xdg-open works fine. It seems like this is a Thunderbird issue, not a Chromium issue.
One thing to note... xdg-open on Fedora runs different programs depending on the 
desktop environment. Since I'm running KDE, xdg-open runs kfmclient.
running the command 'xdg-open http://www.google.com' opens up chrome with this URL if
it was not running. Running the command with chrome running open the URL in a new tab.
This thing needs to be incorporated in thunderbird i guess..

Comment 11 by evan@chromium.org, Feb 26 2010
Could you go to

Edit -> Preferences -> Advanced -> Config Editor

and tell us what the value of this entry is:

network.protocol-handler.app.http

?
following is the result in TB config
network.protocol-handler.app.http;/usr/lib64/thunderbird-3.0/open-browser.sh
network.protocol-handler.app.https;/usr/lib64/thunderbird-3.0/open-browser.sh
On my machine those two values are at their defaults (i.e. non-existent). I have tried 
setting those values to the chrome binary, to a shell script that (successfully) opens 
chrome, and to xdg-open. Nothing works -- which seems to imply that Thunderbird 
ignores those settings. It certainly seems like a Thunderbird problem.
Comment 14 by evan@chromium.org, Mar 22 2010
Labels: -Mstone-5 Mstone-X HelpWanted Pri-3
Status: Available
Summary: Thunderbird doesn't use xdg-open, which means it doesn't open links with Chrome (was: NULL)
I wonder why thunderbird doesn't use xdg-open.  It seems this would break associations 
in other desktop apps on systems like Ubuntu.
According to this bug report:

https://bugzilla.mozilla.org/show_bug.cgi?id=389732

it appears that in Thunderbird 3 the protocol handlers are ignored in favor of the 
settings in the "Attachment" preferences. Indeed, once I set the http and https 
"content types" to xdg-open, Thunderbird correctly opened http and https links in 
Chrome.
Comment 16 by evan@chromium.org, Jan 26 2011
Labels: -HelpWanted
Deprecating HelpWanted label.
Comment 17 by Deleted ...@, Feb 24 2011
Not sure this is relevant, but thought I'd add it. I was experiencing this same issue and fixed it as described above (System -> Preferred Applications -> Web Browsers") BUT I'm running KDE. I happened to have Gnome also installed, but am running KDE.  So, it seems to ignore the KDE default browser setting OR perhaps (since I installed the Gnome libraries after having KDE installed) installing Gnome changed the default browser that xdg-open uses?
Labels: -Area-Compat-System bulkmove Stability-Conflict
Comment 19 by Deleted ...@, Mar 24 2011
When using GNOME, chromium sets the default handlers in gconf so there's no problem. But in KDE, chromium only modifies KDE related RC files and does not touch gconf so all gconf based applications running on a KDE environment will suffer from this problem. I think that chromium should set itself as the default browser in many ways as possible to avoid such problems.
Cc: -est...@chromium.org
Comment 21 by evan@chromium.org, Mar 28 2011
Lei, what do you think of comment #19?
Cc: a deleted user
I don't have any objects to that idea. Mike WDYT?
Comment 23 by mdm@chromium.org, May 19 2011
Oh hey, just noticed this now. Hmm. I could make a case either way here.

I think to some extent the problem will actually go away by itself in the not too distant future since both GNOME and KDE are migrating towards a common (XDG-specified!) way of storing these settings. A lot of the GNOME 3 changes have been moving it in that direction. Maybe we just wait it out.
Comment 24 by evan@chromium.org, Jun 11 2012
Cc: -evan@chromium.org
(Un-ccing myself from bugs.)
No activity on this issue in 3 years, auto-archiving.
Comment 26 by laforge@google.com, Sep 23 2015
Status: Archived
Sign in to add a comment