! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Preferred Applications does not update default browser properly (xdg-open)
Status:
RESOLVED: MOVED
Product:
Xfce4-settings
Component:
Settings Manager

Comments

Description Sorinello 2015-06-09 11:06:29 CEST
Steps to reproduce: 

1) have Firefox
2) install Chrome
3) now, when running xdg-open http://google.com, you'll get Chrome
4) go to all settings -> preferred application -> select Firefox (if it wasn't already selected).
5) run again xdg-open http://google.com => you'll get Chrome
6) optionally, I tried to swtich to Chrome then back to Firefox from Preferred Applications. Same result.

If I have Firefox set as my default Browser, I'd expect the URL to be opened by Firefox. This affects several programs which rely on xdg-open command. One example is IRC xchat2.
Comment 1 Sorinello 2015-06-09 11:08:48 CEST
I forgot to mention that I tested on on 2 machines, one is a vanilla Xubuntu 15.04, the other was a Ubuntu 12.04 transformed to Xubuntu 12.04 and then upgraded to Xubuntu 15.04.
Comment 2 Yan Pas 2015-06-20 08:24:29 CEST
When I select default web browser in settigs, it doesn't become default system-wide. 

My default browser was firefox. Then I installed google-chrome. Some apps still open links in firefox (banshee). xdg-mime default google-chrome.desktop x-scheme-handler/http solves this. I think if this script were ran when I select google-chrome, there would be no problems with default browsers.

Is it the same bug?
Comment 3 Yan Pas 2015-06-20 08:41:11 CEST
And in when firefox when I click "show in folder" in downloads - folder opens in Nautilus, not in thunar. (Ubuntu Unity was my first DE, before XFCE, I haven't changed my profile directory)
Comment 4 Git Bot editbugs 2020-05-28 23:03:07 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/63.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #11976

Reported by:
Sorinello
Reported on: 2015-06-09
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
6 users

Version

Version:
4.12.0

Attachments

Additional information