Bug 489120 (xdg-confused)
Summary: | clicked http links don't open in firefox | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | sean <seandarcy> |
Component: | thunderbird | Assignee: | Jan Horak <jhorak> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | bgamari, gecko-bugs-nobody, h1k6zn2m, john.ellson, mads, mcepl, moneta.mace, tcallawa |
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: | 2009-03-17 12:51:51 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: | |||
Bug Depends On: | |||
Bug Blocks: | 446452 |
Description
sean
2009-03-07 20:53:54 UTC
This should be an F11 blocker! And please don't ship this version of thunderbird to fc10 . Confirmed. This is rather annoying. Thanks for your bugreport. Could you send me what do these values contain in following gconf key names, please? /desktop/gnome/applications/browser/exec /desktop/gnome/url-handlers/https/command /desktop/gnome/url-handlers/about/command /desktop/gnome/url-handlers/http/command /desktop/gnome/applications/browser/exec = firefox /desktop/gnome/url-handlers/https/command = firefox %s /desktop/gnome/url-handlers/about/command = firefox %s /desktop/gnome/url-handlers/http/command = firefox %s [matej@hubmaier ~]$ gconftool-2 --get /desktop/gnome/applications/browser/exec firefox [matej@hubmaier ~]$ gconftool-2 --get /desktop/gnome/url-handlers/https/command /usr/lib64/firefox-3.0.1/firefox "%s" [matej@hubmaier ~]$ gconftool-2 --get /desktop/gnome/url-handlers/about/command firefox %s [matej@hubmaier ~]$ gconftool-2 --get /desktop/gnome/url-handlers/http/command firefox %s [matej@hubmaier ~]$ And actually, about: seems to work (at least about:plugins gives a sensible answer) And yes, [matej@hubmaier ~]$ which firefox /usr/bin/firefox [matej@hubmaier ~]$ That seems to be correct. I believe t'bird uses /usr/lib/thunderbird-3.0b2/open-browser.sh to open an http link. It looks like t'bird passes the url to open-brower.sh, which uses gnome-open to find the system browser. But it doesn't: sh -x open-browser.sh google.com + url=google.com + '[' -z google.com ']' + '[' -f /usr/bin/gnome-open ']' ++ /usr/bin/gnome-open google.com + OUTPUT='Error showing url: Error stating file '\''/usr/lib/thunderbird-3.0b2/google.com'\'': No such file or directory' + '[' 1 -ne 0 ']' + error_exit 'Error showing url: Error stating file '\''/usr/lib/thunderbird-3.0b2/google.com'\'': No such file or directory' + echo 'Error showing url: Error stating file '\''/usr/lib/thunderbird-3.0b2/google.com'\'': No such file or directory' Error showing url: Error stating file '/usr/lib/thunderbird-3.0b2/google.com': No such file or directory + '[' -a /usr/bin/zenity ']' + /usr/bin/zenity --error '--text=Error showing url: Error stating file '\''/usr/lib/thunderbird-3.0b2/google.com'\'': No such file or directory' ^C It looks like something's messed up with gnome-open. We probably want to use xdg-open anyway. Does it work if you change open-browser.sh to use xdg-open instead? You should call open-browser.sh with full URL, eg: open-browser.sh http://google.com This is at least in my case working. It looks like TB is not running this script at all. Still investigating... I think Jan is right... I poked this some more today. I went into the Config Editor for TB (Preferences->Advanced) and looked at "network.protocol-handler.app.http" and "network.protocol-handler.app.https", they were set to "/usr/lib64/thunderbird-3.0b2/open-browser.sh". Just for kicks, I changed them to "/usr/lib64/thunderbird-3.0b2/open-browser.sh %s". Once I'd done that, when I clicked a link, thunderbird prompted me to select an application to open the URL type. I set it to /usr/lib64/thunderbird-3.0b2/open-browser.sh and links now open properly in Firefox. Applicable only as a workaround, but maybe it will shed some light on the actual problem. Also, noteworthy is that "network.protocol-handler.app.http" and "network.protocol-handler.app.https" are still set to the "/usr/lib64/thunderbird-3.0b2/open-browser.sh %s" value that I overrode them to, even though when it prompted me later, I only put in "/usr/lib64/thunderbird-3.0b2/open-browser.sh". I'm guessing this information is stored somewhere separate... :/ There seems to be missing nsIGnomeVFSService (NS_GNOMEVFSSERVICE_CONTRACTID) in rawhide build. Looks like missing library in BuildRequirement. I will review the building process after the weekend. Added missing buildrequires and fixed in next release. WFM thunderbird-3.0-2.beta2.fc11.i586 |