Bug 100862 - xdg-open does not open path
Summary: xdg-open does not open path
Status: RESOLVED FIXED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-28 10:29 UTC by Manuel Schneider
Modified: 2017-05-09 10:01 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Schneider 2017-04-28 10:29:38 UTC
After a recent update of my system xdg-open randomly does not open paths.

It always prints "This tool has been deprecated. See 'gio help open' for more info." 

Archlinux
xdg-utils 1.1.1
gnome 3.24.1
Comment 1 Rex Dieter 2017-04-28 12:29:24 UTC
xdg-open on gnome3 tries the following tools in order:

gio open <path>

gvfs-open <path>


seems one or both of those aren't working properly for you?
Comment 2 Mark B 2017-04-29 23:32:36 UTC
Rex,

I get this problem suddenly on Arch with GNOME 3.24.1 and xdg-utils 1.1.1-5.

You added commit https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=0d6eebb27c562e8644ccf616ebdbddf82d0d2dd8 last year to fix this but I guess the problem for us is that this fix is not in the latest xdg-utils 1.1.1 release from https://portland.freedesktop.org/download/

I.e. the latest release version of xdg-open does not use gio open.

Any plans to produce a new release?
Comment 3 Max M 2017-05-08 02:02:43 UTC
Hey Rex,

I can confirm what Mark and Manuel have reported and would like to underscore the importance of this issue. I'm using GNOME 3.24.1-1 and it seems that the 1.1.1-5 release of xdg-utils is not compatible with the changes.

The following warning occurs when attempting to use xdg-open on GNOME 3.24:

        This tool has been deprecated, use 'gio open' instead.
        See 'gio help open' for more info.

xdg-open fails to complete the action which breaks many applications, specifically that based on the Qt framework. 

This Reddit post has more information if you're interested: https://redd.it/689ev7

As Mark mentioned, a new release would resolve this issue excellently.
Comment 4 Rex Dieter 2017-05-08 12:32:22 UTC
1.  If gvfs-open doesn't work, that's a gvfs-open bug (are there any bugs filed or documented on this yet?)

2.  the xdg-utils "fix" is only really a workaround, to prefer gio instead, of course.

That said, I've historically never had any luck getting freedesktop.org admins to publish releases I make (but I'll try again), in the meantime, feel free to grab the latest (newly tagged 1.1.2) from
https://people.freedesktop.org/~rdieter/xdg-utils/
Comment 5 Rex Dieter 2017-05-08 12:39:17 UTC
yay, I found it, plopped the new tarball in the usual download place now.
Comment 6 Max M 2017-05-09 10:01:57 UTC
Rex,

Thank you for an expedient resolution. The new release is already in the Arch testing repository. Keep up the good work!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.