Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1197611 - xdg-open doesn't work after upgrade to Firefox 36.0
Summary: xdg-open doesn't work after upgrade to Firefox 36.0
Keywords:
Status: CLOSED DUPLICATE of bug 1197313
Alias: None
Product: Fedora
Classification: Fedora
Component: exo
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-02 08:25 UTC by Samo Dadela
Modified: 2015-03-12 12:23 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-04 12:36:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Samo Dadela 2015-03-02 08:25:18 UTC
Description of problem:
After upgrading to firefox 36 I noticed that I could not open url's from pidgin. Firefox comes up, but the URL bar is empty. I then tried xdg-open http://url - same happends.

Version-Release number of selected component (if applicable):
firefox-36.0-1.fc21.x86_64
xdg-utils-1.1.0-0.38.rc3.fc21.noarch

How reproducible:
xdg-open http://url.com

Steps to Reproduce:
1. xdg-open http://url.com
2. firefox windows comes up, but url bar is empty
3.

Actual results:
A blank firefox window opens.

Expected results:
A firefox window with the desired page should be opened.

Additional info:

Comment 1 Thomas Moschny 2015-03-02 12:16:14 UTC
Same here, on F20.

firefox --new-window works, however.

Comment 2 Martin Stransky 2015-03-02 12:49:30 UTC
The --remote argument has been removed from Firefox.

Comment 3 Martin Stransky 2015-03-02 12:51:38 UTC
See https://bugzilla.mozilla.org/show_bug.cgi?id=1080319 for details.

Comment 4 Rex Dieter 2015-03-02 13:59:40 UTC
xdg-utils has no code that injects command-line options, --remote in particular.

all it does (essentially), is run the app referenced by:

xdg-mime query default x-scheme-handler/http
or
xdg-settings get default-web-browser


modulo some details depending on which desktop environment you use)


Reporters, can you please post the output from the following 3 commands:

xdg-mime query default x-scheme-handler/http

xdg-settings get default-web-browser

XDG_UTILS_DEBUG_LEVEL=2 xdg-open http://url.com

Comment 5 Samo Dadela 2015-03-02 14:04:19 UTC
$ xdg-mime query default x-scheme-handler/http
firefox.desktop midori.desktop

$ xdg-settings get default-web-browser
firefox.desktop

$ XDG_UTILS_DEBUG_LEVEL=2 xdg-open http://google.com
Selected DE xfce
(blank firefox opens)

Comment 6 redhat 2015-03-02 14:06:29 UTC
$ xdg-mime query default x-scheme-handler/http
firefox.desktop
$ xdg-settings get default-web-browser
firefox.desktop
$ XDG_UTILS_DEBUG_LEVEL=2 xdg-open http://url.com
Selected DE xfce

(firefox with google.com opens, but i literally used url.com)

Comment 7 Rex Dieter 2015-03-03 23:01:27 UTC
I've confirmed xdg-open works for me with firefox-36 after setting firefox to be default browser.

reporter, can you check to see if you may have a custom firefox.desktop under ~/.local/share/applications ?

Comment 8 Rex Dieter 2015-03-04 02:23:11 UTC
Ah, I think I see the problem, I bet this is a dup of bug #1195718 , but looks like I failed to make an update for f20 too (per comment #1).

*** This bug has been marked as a duplicate of bug 1195718 ***

Comment 9 Thomas Moschny 2015-03-04 08:45:25 UTC
Updating to xdg-utils-1.1.0-0.39.rc3.fc20.noarch doesn't help, problem remains the same.

Running xdg-open with strace shows that it calls exo-open, which in turn calls exo-helper-1, which in turn calls
execve("/usr/bin/firefox", ["/usr/bin/firefox", "-remote","openURL(http://url.com)"], [/* 74 vars */])

Re-assign to exo.

Comment 10 Thomas Moschny 2015-03-04 08:51:08 UTC
... and so, most likely a duplicate of 1197313.

*** This bug has been marked as a duplicate of bug 1197313 ***

Comment 11 Rex Dieter 2015-03-04 12:23:04 UTC
No, your issue is still exo-open in this case, no idea why it's trying to use the --remove option

Comment 12 Rex Dieter 2015-03-04 12:23:18 UTC
--remote even :)

Comment 13 Rex Dieter 2015-03-04 12:36:48 UTC
reduping 1197313 , I misread that as the original xdg-utils bug 1195718 , sorry

*** This bug has been marked as a duplicate of bug 1197313 ***

Comment 14 Martin Stransky 2015-03-05 13:14:10 UTC
Upstream decided to revert te change so the -remote options has been added back in firefox-36.0-3.fc23 (see https://bugzilla.mozilla.org/show_bug.cgi?id=1080319)

Comment 15 Samo Dadela 2015-03-12 12:22:02 UTC
So the 'fix' is to wait for firefox to revert back?

Comment 16 Kevin Fenzi 2015-03-12 12:23:54 UTC
(In reply to Samo Dadela from comment #15)
> So the 'fix' is to wait for firefox to revert back?

Or you could install the exo package from updates-testing as noted in bug 1197313 ?


Note You need to log in before you can comment on or make changes to this bug.