Epiphany steals "sensible-browser" upon install

Bug #72524 reported by Kristoffer Lundén
2
Affects Status Importance Assigned to Milestone
epiphany-browser (Ubuntu)
Invalid
Undecided
Ubuntu Desktop Bugs

Bug Description

Ubuntu 6.10, Epiphany 2.16.1

When installing Epiphany, Gaim and other apps suddenly starts to open URLs in Epiphany instead of Firefox. This is quite surprising and not at all what I wanted. Furthermore it is not at all clear that - or how - this happens, it just happens behind my back. To fix it I have to find Preferred Applications and understand that sensible-browser has stopped being sensible.

I suppose the reasoning goes that if you install another browser you want that as the default, but in reality a lot of people that even bother to install more browsers do it for testing or evaluation purposes. It's quite preposterous to just take over my default without asking, I don't think even IE does that, but asks nicely if I want it that way.

Short-term fix: Stop doing that! It's very rude.
Long-term fix: browsers usually have a first-time check to see if they are the default browser, link this functionality to sensible-browser or whatever mechanism is suitable.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. If you don't want the defaut to change don't use sensible-browser, rather the "x-www-browser" alternative. Closing, that's not a bug from epiphany, that's the way sensible-browser is made

Changed in epiphany-browser:
assignee: nobody → desktop-bugs
status: Unconfirmed → Rejected
Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

Even if it's not a Epiphany bug it shouldn't be rejected but reassigned then, because I shouldn't have to dig all the way down there with no explanation to stop an installed app from doing stuff silently behind my back. Either sensible-browser needs to be fixed, or it shouldn't be the default.

Revision history for this message
Sebastien Bacher (seb128) wrote :

it's not the default, the GNOME desktop uses the browser selected to the preferred app capplet

Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

I didn't understand that at all: "uses the browser selected to the preferred app capplet", what does that mean?

And sure it is the default, maybe there is some technical reason to call it something else, but the fact remains that:

On a fairly vanilla install of Ubuntu 6.10 that has not mucked with any browser settings, an extra installed browser rudely changes my desktop settings behind my back with no explanation and not even telling me how to revert. That is plain wrong and it should be fixed somewhere if not here.

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: [Bug 72524] Re: Epiphany steals "sensible-browser" upon install

Le jeudi 23 novembre 2006 à 19:02 +0000, Kristoffer Lundén a écrit :
> I didn't understand that at all: "uses the browser selected to the
> preferred app capplet", what does that mean?

"system, preferences, preferred applications" from the panel menu,
that's the capplet you use to select the default browser for GNOME. The
GNOME applications do not use sensible browser, they use that setting
(which is stored to gconf "/desktop/gnome/url-handlers/http/command"
key)

> On a fairly vanilla install of Ubuntu 6.10 that has not mucked with any
> browser settings, an extra installed browser rudely changes my desktop
> settings behind my back with no explanation and not even telling me how
> to revert.

Again, sensible-browser is not a "desktop setting" and the GNOME default
is not changed without asking you

Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

I hear you. But what is happening then? All I know is that installing Epiphany makes it default and that I found "sensible-browser" in the prefs, and changing that to the "Firefox" setting fixed the problem back to using Firefox.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Le dimanche 26 novembre 2006 à 15:41 +0000, Kristoffer Lundén a écrit :
> I hear you. But what is happening then? All I know is that installing
> Epiphany makes it default and that I found "sensible-browser" in the
> prefs, and changing that to the "Firefox" setting fixed the problem back
> to using Firefox.

You should simply don't use "sensible-browser" if you don't understand
what's doing or doesn't match your needs, nobody forced you to pick that
option. It works the way it has been designed, if you doesn't like it
that doesn't make the behaviour being bugged. You can
read /usr/bin/sensible-browser to understand what it is doing. To make
it simple: "it uses $BROWSER if defined, if it's not then it uses the
x-www-browser alternative, etc. The x-www-browser alternative is an
alternative, different program can register with a priority. It makes
sense for programs not installed by default to have a higher alternative
because usually if you install them that's to use them instead of the
default browser. If you don't like that you can pick an alternative by
hand (man update-alternatives for informations about that)

Revision history for this message
Kristoffer Lundén (kristoffer-lunden) wrote :

I give up: I never, ever, chose sensible-browser. It was there, chosen for me. "Understand" does not enter into it, it was not my choice. And no, making system-wide, huge changes silently without any explanation makes no sense.

Sorry to have wasted your time. Thanks anyways.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Why didn't you say that before? The bug is not that sensible-browser is stolen, it's that it got selected as default option for you. What does happen if you run gconf-editor, go to /desktop/gnome/url-handlers/http/command, right click and pick "Unset Key"? What value is set for it then? That's the default value. If you get firefox when doing that then some problem or user changed your setting and that's it to blame

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.