Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1696926 - gio open does only open the containing folder and not the given file
Summary: gio open does only open the containing folder and not the given file
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: glib2
Version: 29
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2019-04-06 08:40 UTC by Eric Lavarde
Modified: 2019-04-06 08:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Eric Lavarde 2019-04-06 08:40:37 UTC
Description of problem:
calling `xdg-open <somefile>` delegated to `gio open <somefile>` opens the containing folder and not the actual file.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. call `gio open <somefile>`

Actual results:
the file manager is opened, showing the folder containing the file, the file is selected.

Expected results:
the file is opened in the editor/viewer fitting its type.

Additional info:

It doesn't make any difference how I point to the file:

gio open somefile
gio open /someabsolutepath/somefile
gio open file:///someabsolutepath/somefile

The type of the file doesn't seem to make a difference.

Under Cinnamon 4.0.8 (Fedora 29) in case it's relevant.

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