Public bug reported:

Binary package hint: nautilus-gksu

Suppose if we open an archive(i.e. .tar.gz) via "Open as administrator"
then it opens two file-roller window. One window says "Unable to open"
and other window shows the archive content. But the first window steals
focus, so we have to click "Ok" and close it to do anything with the
other window.

Internally nautilus-gksu finds the application name for selected file's
mime type. But the returned application name contains one extra blank
space which leads to a commandline something like "appBBvfspath", where
app is application name, B is a blank space and vfspath is a vfs path of
the file. In my case file-roller treats the second blank space as
seperate parameter and tries to open it.

This not only happens with file-roller but with lot of other
applications(even with nautilus itself BUG #79110) too.

The patch I have attached strips any leading/trailing spaces from the
commandline(cmd).

** Affects: gksu (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Opening files via "Open as administrator" generates commandline with extra 
blank space
https://bugs.launchpad.net/bugs/252633
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to