After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765716 - nautilus launched via gnome-shell can't find xdg-app
nautilus launched via gnome-shell can't find xdg-app
Status: RESOLVED NOTGNOME
Product: nautilus
Classification: Core
Component: general
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-28 10:47 UTC by Bastien Nocera
Modified: 2016-04-28 11:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2016-04-28 10:47:38 UTC
nautilus-3.20.0-1.fc24.x86_64

1. Create and install mpv in xdg-app:
https://github.com/hadess/hadess-xdg-app
2. Launch "nautilus" on the command-line
3. Right-click on a video file, select "Open with other application", and verify that mpv is in the list of available applications
4. Kill nautilus
5. Launch nautilus via gnome-shell
6. Repeat 3. -> mpv isn't in the list
Comment 1 Carlos Soriano 2016-04-28 10:59:19 UTC
We just use the GtkAppChooser, so I believe is either gtk+ or glib. Does the testappchooser in gtk+ repo work fine for you?

Reassigning to gtk+ for now.
Comment 2 Bastien Nocera 2016-04-28 11:02:01 UTC
(In reply to Carlos Soriano from comment #1)
> We just use the GtkAppChooser, so I believe is either gtk+ or glib. Does the
> testappchooser in gtk+ repo work fine for you?

It does, and so does nautilus when launched via the command-line, rather than D-Bus activated.

> Reassigning to gtk+ for now.

Reassigning to nautilus...
Comment 3 Bastien Nocera 2016-04-28 11:15:45 UTC
It's a bug in xdg-app, the XDG_DATA_DIRS aren't propagated to the D-Bus activated applications. See https://github.com/alexlarsson/xdg-app/issues/147