FS#45167 - [nautilus] Need to run xdg-open twice

Attached to Project: Arch Linux
Opened by Henry78 (Henry78) - Monday, 01 June 2015, 18:51 GMT
Last edited by Jan de Groot (JGC) - Thursday, 10 September 2015, 10:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

If you run xdg-open once then it does start nautilus but nautilus does not open the window, e.g. "xdg-open .". Nautilus will stay running for about 1 min and it you run xdg-open again within that time it will work and open the window. As soon as Nautilus stops (or after you stop it with nautlius -q), then the next invocation of xdg-open will not work.

PS: I should point out that, consistent with my description of the problem above, if you use Nautilus to manage your desktop (i.e. set "Icons on Desktop" in GNOME Tweak Tool) then you won't see this bug because Nautilus is always running.

Additional info:
* package version(s): xdg-utils 1.1.0.git20150323-1
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 10 September 2015, 10:29 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Tuesday, 02 June 2015, 16:41 GMT
Do you run into this anywhere else? It sounds more like a nautilus issue.
Comment by Jan de Groot (JGC) - Friday, 05 June 2015, 08:27 GMT
Bug is not in xdg-utils, calling "gvfs-open ." (which xdg-open does) results in the same bug. Calling nautilus directly works fine. Either a bug in gvfs-open or in dbus activation.
Comment by Mark Blakeney (bulletmark) - Thursday, 25 June 2015, 23:58 GMT
Following this up, this is a bug in gvfs-open. Here's the upstream GNOME bug about this: https://bugzilla.gnome.org/show_bug.cgi?id=746534.
Also, here's the actual fix: https://github.com/GNOME/gvfs/commit/9de6328f97a75b3ac4431810b33605f75778f1f2.

It seems this fix is included in GNOME 3.17.3 released today, see http://ftp-nyc.osuosl.org/pub/gnome/core/3.17/3.17.3/NEWS.

Loading...