After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 545126 - Uninstalling default browser doesn't fall back to another
Uninstalling default browser doesn't fall back to another
Status: RESOLVED WONTFIX
Product: gnome-settings-daemon
Classification: Core
Component: general
2.23.x
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2008-07-28 10:43 UTC by Sebastien Bacher
Modified: 2008-07-28 21:07 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Sebastien Bacher 2008-07-28 10:43:48 UTC
the bug has been described on https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/217296

"Ubuntu Hardy beta, all updates installed

1. Install Galeon.
2. In Preferred Applications, set Galeon as your default browser.
3. Open a Web shortcut in Nautilus, or enter "xdg-open http://example.com/" in a terminal, to check that it opens in Galeon.
4. Uninstall Galeon.
5. Open a Web shortcut in Nautilus, or enter "xdg-open http://example.com/" in a terminal.
6. See what the default browser is in Preferred Applications.

What happens:
5. You get an error message.
6. The default browser is described as "Custom" and shows the no-longer-existing "galeon".

What should happen:
5. Ubuntu should fall back to another browser automatically.
6. This automatically-chosen browser should be shown in Preferred Applications.

Probably this will require a specification that I don't have time to write -- I'm just recording it here before I forget. If anyone else wants to work on it, I would be very grateful. :-)"


One way to fix that would be to have gnome-settings-daemon to monitor the binaries and update the gconf value when something used in uninstalled
Comment 1 Jens Granseuer 2008-07-28 21:07:11 UTC
There's *so much* that could go wrong there. You're probably better off having a "sensible-web-browser" script similar to what Debian has. And the default for all apps is "disabled" anyway. Plus, the fallback chosen will be wrong in 90% of the cases, I foretell.