Thunderbird opens new Firefox browser at home page

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Thunderbird opens new Firefox browser at home page

Postby DiBosco » May 2nd, '12, 13:11

With the last upgrade of the Thunderbird client, on my desktop, when I click on a link, it opens a new Firefox browser at its homepage rather than a new tab in the already opened browser at the clicked link in the email. Oddly, on my laptop, it's unnaffected.

Anyone know how to solve this please?
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: Thunderbird opens new Firefox browser at home page

Postby dude67 » May 2nd, '12, 15:26

I don't know the answer, but I do have the same problem. Whenever I click on a hyperlink on a T-bird e-mail, I get a new Firefox window with my homepage. The same if I choose right click and Open Link in Browser. I need to copy the link location and paste it on the URL bar of Firefox to get it loading.
Image
User avatar
dude67
 
Posts: 61
Joined: Jun 2nd, '11, 07:56
Location: Finland

Re: Thunderbird opens new Firefox browser at home page

Postby doktor5000 » May 2nd, '12, 20:48

Is this with Mageia 1 or cauldron? AFAICT no settings have changed in between.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Thunderbird opens new Firefox browser at home page

Postby dude67 » May 2nd, '12, 21:04

Mine is 32 bit Mageia1. Duly updated.
Image
User avatar
dude67
 
Posts: 61
Joined: Jun 2nd, '11, 07:56
Location: Finland

Re: Thunderbird opens new Firefox browser at home page

Postby doktor5000 » May 2nd, '12, 21:24

Well, i've no problem with thunderbird, it opens links in firefox in tabs as always, can't reproduce here.

Can you please tell how/if you set your default browser?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Thunderbird opens new Firefox browser at home page

Postby dude67 » May 3rd, '12, 06:12

(Sorry for hijacking this thread!) I haven't set it up in any special way. I've always used Firefox in my Linux boxes. It's set up as the default browser, but I haven't set it up... And as I said it's opening up Firefox, but in a new window and with my homepage...

This has become a problem quite recently - I believe during the T-bird update as DiBosco noticed.

Here's version information:
Firefox: 10.0.4
T-bird: 10.0.4
Mageia1: $ uname -a
Linux localhost.localdomain 2.6.38.8-server-10.mga #1 SMP Wed Jan 25 11:27:30 UTC 2012 i686 i686 i386 GNU/Linux
(even though my computer is a laptop)
Image
User avatar
dude67
 
Posts: 61
Joined: Jun 2nd, '11, 07:56
Location: Finland

Re: Thunderbird opens new Firefox browser at home page

Postby DiBosco » May 3rd, '12, 10:42

I haven't done anything at all in terms of setting up my default browser. Like most things on Linux these days it just worked. (How cool a thing that is to be able to write!)

On my laptop it still works; on my desktop, after the last but one TB upgrade, dude67 and I are seemingly having identical problems. Click a link in TB, a new FF browser is opened always at FF's homepage.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: Thunderbird opens new Firefox browser at home page

Postby doktor5000 » May 3rd, '12, 20:48

Maybe both of you want to have a look at https://bugs.mageia.org/show_bug.cgi?id=2051 for debugging this?

Or provide the output of (as user)
Code: Select all
echo $BROWSER
grep ht ~/.local/share/applications/mimeapps.list
xdg-settings get default-web-browser
gconftool-2 --get /desktop/gnome/url-handlers/http/command
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Thunderbird opens new Firefox browser at home page

Postby DiBosco » May 4th, '12, 09:47

I use KDE, not Gnome I'm afraid.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: Thunderbird opens new Firefox browser at home page

Postby DiBosco » May 4th, '12, 12:12

There's something seriously weird going on.

Even if I delete prefs.js, start again and put /usr/bin/firefox www.bbc.co.uk as follows:

user_pref("network.protocol-handler.app.http", "/usr/bin/firefox www.bbc.co.uk");

It opens my homepage (google.co.uk).

So the question is: what does Mageia do with TB that bypasses the standard way of launching external apps? I guess we need a programmer to answer that.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: Thunderbird opens new Firefox browser at home page

Postby doktor5000 » May 4th, '12, 20:25

We're not doing anything to bypass something, the preference you quoted is not effective since quite some time, see my comment here f.ex:
http://svnweb.mageia.org/packages/updates/1/mozilla-thunderbird/current/SOURCES/mozilla-thunderbird-mageia-default-prefs.js?revision=210136&view=markup
5 # not used anymore, see upstream developer comment: https://bugzilla.mozilla.org/show_bug.cgi?id=550755#c1
6 # and related Mandriva bug report https://qa.mandriva.com/show_bug.cgi?id=58784
7 # Make hyperlinks work
8 #pref("network.protocol-handler.app.http", "COMMAND");
9 #pref("network.protocol-handler.app.https", "COMMAND");
10 #pref("network.protocol-handler.app.ftp", "COMMAND");


FWIW, i'm mageia's thunderbird maintainer, that's why i asked for the output of the commands, as Firefox is a GTK program, so essentially it uses GNOME settings.
Please don't ask me for the reasons for that, i'm no upstream developer, only they know why they switched away from using program-internal settings to using something external.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Thunderbird opens new Firefox browser at home page

Postby dude67 » May 5th, '12, 09:57

doktor5000 wrote:Or provide the output of (as user)
Code: Select all
echo $BROWSER
grep ht ~/.local/share/applications/mimeapps.list
xdg-settings get default-web-browser
gconftool-2 --get /desktop/gnome/url-handlers/http/command

I had a problem with kde4 settings and had to recreate .kde4 directory. But the TB link problem still persists.

Here's the output of that list you asked for
Code: Select all
$ echo $BROWSER
/usr/bin/www-browser
$ grep ht ~/.local/share/applications/mimeapps.list
$ xdg-settings get default-web-browser
firefox
$ gconftool-2 --get /desktop/gnome/url-handlers/http/command
/usr/bin/firefox "%s"
Image
User avatar
dude67
 
Posts: 61
Joined: Jun 2nd, '11, 07:56
Location: Finland

Re: Thunderbird opens new Firefox browser at home page

Postby doktor5000 » May 5th, '12, 10:31

dude67 wrote:I had a problem with kde4 settings and had to recreate .kde4 directory. But the TB link problem still persists.

Code: Select all
$ gconftool-2 --get /desktop/gnome/url-handlers/http/command
/usr/bin/firefox "%s"


OK, so at least the last setting is not the default one, also seems " " were added around %s. The default should work, see below.
Here the output looks like this:
Code: Select all
[doktor5000@Mageia1 ~]$ gconftool-2 --get /desktop/gnome/url-handlers/http/command
www-browser %s
[doktor5000@Mageia1 ~]$ grep ht ~/.local/share/applications/mimeapps.list
text/html=firefox.desktop;chromium.desktop;chromium-browser.desktop;

The two other settings are the same.Can you try if
Code: Select all
www-browser http://www.google.com
xdg-open http://www.google.com

open a new tab with http://www.google.com in firefox?

Normally you only fire up systemsetings -> Default Applications -> and enter firefox as Browser in there. Or at least that's what i do, and it works for me.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Thunderbird opens new Firefox browser at home page

Postby dude67 » May 5th, '12, 13:34

OK, both commands open up http://www.google.com in a new tab in FF. So no problem there.

And here is a snapshot of the default applications.
Attachments
snapshot1.png
default apps, browser
snapshot1.png (40.04 KiB) Viewed 15537 times
Image
User avatar
dude67
 
Posts: 61
Joined: Jun 2nd, '11, 07:56
Location: Finland

Re: Thunderbird opens new Firefox browser at home page

Postby dude67 » May 5th, '12, 13:53

I don't know what happened, but now it seems to be working fine!
Image
User avatar
dude67
 
Posts: 61
Joined: Jun 2nd, '11, 07:56
Location: Finland

Re: Thunderbird opens new Firefox browser at home page

Postby doktor5000 » May 5th, '12, 20:35

@DiBosco: What about you?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Thunderbird opens new Firefox browser at home page

Postby DiBosco » May 7th, '12, 13:09

Hmmm
Code: Select all
gconftool-2 --get /desktop/gnome/url-handlers/http/command
/home/robertw/Installs/firefox/firefox %s


Now, that firefox was one I manually installed because the repositories were so far behind the official release and I was having problems with the older version that was in the repository. I don't know how the system updated that value though. I also don't understand how it's launching a browser at all as that whole directory was deleted. The KDE setup thingy that dude put a screenshot of up just says firefox exactly as his.

If I change it like this:

Code: Select all
gconftool-2 --type string -s /desktop/gnome/url-handlers/http/command "/usr/bin/firefox %s"


and check it like this:

Code: Select all
gconftool-2 --get /desktop/gnome/url-handlers/http/command/usr/bin/firefox %s


It makes no difference.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: Thunderbird opens new Firefox browser at home page

Postby doktor5000 » May 7th, '12, 20:48

What about the other settings i asked for?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Thunderbird opens new Firefox browser at home page

Postby DiBosco » May 7th, '12, 21:01

This one?

Code: Select all
[robertw@localhost ~]$ xdg-settings get default-web-browser
firefox
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: Thunderbird opens new Firefox browser at home page

Postby doktor5000 » May 7th, '12, 21:23

Yeah, and
Code: Select all
echo $BROWSER
grep ht ~/.local/share/applications/mimeapps.list

Also, which desktop environment are you using, and can you try if
Code: Select all
www-browser http://www.google.com
xdg-open http://www.google.com

open a new tab with http://www.google.com in firefox?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Thunderbird opens new Firefox browser at home page

Postby DiBosco » May 7th, '12, 21:47

Code: Select all
[robertw@localhost ~]$ echo $BROWSER
/usr/bin/www-browser
[robertw@localhost ~]$ grep ht ~/.local/share/applications/mimeapps.list
grep: /home/robertw/.local/share/applications/mimeapps.list: No such file or directory


Code: Select all
www-browser http://www.bbc.co.uk
xdg-open http://www.bbc.co.uk


Both of these open a new tab in the already open browser at the Beeb homepage.

I'm using KDE.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: Thunderbird opens new Firefox browser at home page

Postby doktor5000 » May 8th, '12, 22:46

Probably you should set that gconf setting you previously mentioned back to the default, which would be
Code: Select all
www-browser %s
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Thunderbird opens new Firefox browser at home page

Postby DiBosco » May 13th, '12, 09:07

I'm afraid that doesn't work either.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: Thunderbird opens new Firefox browser at home page

Postby DiBosco » May 26th, '12, 12:32

With a fresh install of Mageia 2 (not an upgrade), but keeping /opt and /home partitions intact, the same thing is happening. I assume this must mean it's something in my /home directory that is affecting this?
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: Thunderbird opens new Firefox browser at home page

Postby doktor5000 » May 27th, '12, 23:47

Yep. Just create a new user and experiment with that one.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest