web shortcuts are not opened with the preferred browser

Bug #189131 reported by Mariano Draghi
2
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

My preferred, default browser is Epiphany (i.e., /etc/alternatives/x-www-browser points to /usr/bin/epiphany)

But if I create a web shortcut to some page from Epiphany (by dragging the icon next to the URL in the location bar to, for example, the Desktop), the resulting .desktop file is always opened with Firefox when I double click on it.

Steps to reproduce:
 1. Set Epiphany (or any other browser different from Firefox) as the default web browser
 2. Create a web shortcut somewhere in the filesystem, by draging a URL to the Desktop or a Nautilus window
 3. Double-click the created shortcut (.desktop file)

Actual result: The page is opened in Firefox

Expected result: The page should be opened in Epiphany (or whatever browser is set as the preferred one)

Additional information:
 - Ubuntu 7.10 with all updates as of Feb/08

Revision history for this message
Mariano Draghi (chaghi) wrote :

I've just found that the way .desktop files are handled in Gnome is configured in /usr/share/applications/defaults.list (and can be overriden in a per-user basis editing ~/.local/share/applications/defaults.list).

When the user changes the default browser, gnome-control-center should create and/or update ~/.local/share/applications/defaults.list accordingly, reflecting the user choice.

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

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in gnome-control-center:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Invalid
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.