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 665116 - softwares that don't take a command line argument should be filtered out
softwares that don't take a command line argument should be filtered out
Status: RESOLVED INCOMPLETE
Product: nautilus
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-29 09:51 UTC by Tomáš Hnyk
Modified: 2014-07-13 21:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
What is shown in gtkappchooser (53.23 KB, image/png)
2011-11-29 09:51 UTC, Tomáš Hnyk
Details

Description Tomáš Hnyk 2011-11-29 09:51:10 UTC
Created attachment 202359 [details]
What is shown in gtkappchooser

As reported for ubuntu here: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/882900

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.

The problem is that: 

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

But then in the gui it shows only some of thoso (see attached screenshot)
Comment 1 Nelson Benitez 2011-12-05 16:51:17 UTC
I couldn't reproduce this, I installed quarry but it doesnt show up for me in gvfs-mime --query application/x-go-sgf .. I'm in fedora 16 and installed from rpm package..
Comment 2 Sebastien Bacher 2011-12-05 16:57:37 UTC
it's not specific to that format

https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/891101 has the same issue with debs:
* https://launchpadlibrarian.net/85258556/QChna.png shows the desktop menu
* https://launchpadlibrarian.net/85258612/BGvOk.png shows the properties tab where "gdebi" is not listed
Comment 3 Matthias Clasen 2011-12-14 17:51:43 UTC
not sure I understand the retitling... this bug started out as a complaint about too few applications showing in the chooser. Now the title seems to imply that you want more apps to be filtered out - what gives ?
Comment 4 Sebastien Bacher 2011-12-14 18:23:55 UTC
Sorry I meant to reassign that to nautilus and comment as well and get sidetracked

I asked Cosimo about it on #nautilus, the summary is:

* gtk is correct to filter those out, those .desktop have an Exec line without a "%", i.e they don't claim supporting command line arguments so shouldn't be called from nautilus

-> not a gtk bug

* nautilus should be consistent with gtk and filter those out of its context menu as well

-> retitle and reassign to nautilus

* bugs should be open against those applications, I'm doing that next

I hope that makes sense ;-)
Comment 5 Cosimo Cecchi 2012-07-20 16:07:21 UTC
Mass component change due to BZ cleanup, sorry for the noise.
Comment 6 William Jon McCann 2012-08-12 13:40:56 UTC
Can someone please provide an updated test case for this? It is a bit confusing after the bug was renamed.
Comment 7 Tobias Mueller 2013-05-08 09:17:49 UTC
Sebastien, ping.
Comment 8 André Klapper 2014-07-12 16:13:31 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 9 Tomáš Hnyk 2014-07-13 21:55:42 UTC
Hm, it seems to be fixed now anyway. I cannot reproduce it with quarry.