softwares that don't take a command line argument should be filtered out

Bug #882900 reported by David Gómez
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Nautilus
Expired
Medium
nautilus (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Nautilus in 11.10 doesn't associate the right application to SGF files.

Steps to reproduce:
1. Install an application to open SGF, like Quarry.
2. Check if MIME types are configured correctly with "mimeopen whatever.sgf". They are, as expected quarry is launched.
3. In nautilus, this file type is associated to gedit. Try to associate it again. Right button click on the file. "Properties->Open with" window doesn't list quarry as an application. New nautilus version in 11.10 doesn't allow custom command lines.
4. No way to associate SGF files, regression from 11.04

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could you add a .sgf to the bug? What mimetype is listed for it in the nautilus properties? Does the quarry .desktop claim supporting the type?

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
David Gómez (dabisu) wrote :

Nautilus properties shows: Board game record (application/x-go-sgf)
Yet, desktop files claims it. Actually it claims three types: MimeType=application/x-go-sgf;text/sgf;text/x-sgf;

Revision history for this message
Sebastien Bacher (seb128) wrote :

What desktop files claim those types? what does "gvfs-mime --query application/x-go-sgf" return for you?

Revision history for this message
David Gómez (dabisu) wrote :

% gvfs-mime --query application/x-go-sgf
Default application for 'application/x-go-sgf': gedit.desktop
Registered applications:
 gedit.desktop
 quarry.desktop
 libreoffice-writer.desktop
 wine-extension-txt.desktop
 gvim.desktop
 abiword.desktop

Revision history for this message
Sebastien Bacher (seb128) wrote :

so what's the issue? those should be listed in the nautilus context menu and in the properties "open with "tab?

Revision history for this message
David Gómez (dabisu) wrote :

It's listed in the context menu. But the bug i reported is that is not listed in Properties->Open With. Older nautilus versions allowed to define a custom command, this one doesn't. So i can't add a custom command and cannot select the default application because is not listed.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you take a screenshot of the "open with" tab?

Revision history for this message
David Gómez (dabisu) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

ok, it doesn't list abiword either

Changed in nautilus (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
summary: - Cannot associate files of type sgf
+ Some handlers don't get listed in the "open with" tab
Revision history for this message
Juan Simón (simonbcn) wrote : Re: Some handlers don't get listed in the "open with" tab

In my case the problem is with deb packages and gdebi.
$ gvfs-mime --query application/x-deb
Default application for 'application/x-deb': ubuntu-software-center.desktop
Registered applications:
 ubuntu-software-center.desktop
 gdebi.desktop
 file-roller.desktop

But when I try to select, in contextual menu, gdebi as default app I can't because it isn't. I attach one screenshot.

Changed in nautilus (Ubuntu):
status: Confirmed → Triaged
no longer affects: nautilus
Revision history for this message
TomasHnyk (sup) wrote :

Forwarded upstrem. I think this should actually be filled against gtk in Ubuntu, asi GtkAppChooser is a part of that. That it is impossible to set custom commands is bug 853061(which is filled against gtk+3.0)

affects: nautilus (Ubuntu) → gtk+3.0 (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Thomas for sending the bug to GNOME

Changed in gtk:
importance: Unknown → Medium
status: Unknown → New
summary: - Some handlers don't get listed in the "open with" tab
+ softwares that don't take a command line argument should be filtered out
affects: gtk+3.0 (Ubuntu) → ubuntu
affects: ubuntu → nautilus (Ubuntu)
affects: gtk → nautilus
Revision history for this message
Sebastien Bacher (seb128) wrote :

Ok, so after investigation the bug is not a gtk one but one in those softwares, their exec line should have a % argument to specify they can take filenames on their command line:
http://standards.freedesktop.org/desktop-entry-spec/1.1/ar01s06.html

Revision history for this message
Sebastien Bacher (seb128) wrote :

David, could you open a new bug against quarry? We will reuse the current one for tracking the nautilus inconsistancy between the context menu and the properties dialog lists

Revision history for this message
David Gómez (dabisu) wrote :

Thanks for looking into this bug Sebastien. I opened a bug against quarry, although the project seems to have been discontinued :(

Changed in nautilus:
status: New → Incomplete
Changed in nautilus:
status: Incomplete → Expired
Revision history for this message
TomasHnyk (sup) wrote :

It seems to have been fidxed on 13.10.

Changed in nautilus (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.