[Portland-bugs] [Bug 88991] New: xdg-open calls Nautilus with all arguments quoted together

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 5 01:35:14 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88991

            Bug ID: 88991
           Summary: xdg-open calls Nautilus with all arguments quoted
                    together
           Product: Portland
           Version: 1.1.0 rc3
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
          Assignee: portland-bugs at lists.freedesktop.org
          Reporter: yumpusamongus at gmail.com

Steps to reproduce:

  1. Set org.gnome.Nautilus.desktop as the default handler
     for inode/directory, such that:

       $ xdg-mime query default inode/directory
       org.gnome.Nautilus.desktop

  2. Where org.gnome.Nautilus.desktop's Exec line is:

       Exec=nautilus --new-window %U

  3. Create a directory /tmp/test/directory.

  4. Run:

       xdg-open /tmp/test/directory

Actual behavior:

  1. Terminal prints:

       START /usr/bin/nautilus --new-window /tmp/test/directory
       Unknown option --new-window /tmp/test/directory

  2. Firefox opens a tab with an index page for the url
     "file:///tmp/test/directory/".  This probably depends on
     the fallback mechanism in my particular configuration.

Expected behavior:

  1. Nautilus opens, showing the directory /tmp/test/directory.

Additional information: Distribution is Fedora 21.  gvfs-open does the right
thing, when called like xdg-open.  I am not running the Gnome DE, though I am
using gnome-settings-daemon and Nautilus.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20150205/0c59524a/attachment.html>


More information about the Portland-bugs mailing list