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 590623 - Can't delete/reset folder associations
Can't delete/reset folder associations
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File Properties Dialog
2.26.x
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on: 590629
Blocks:
 
 
Reported: 2009-08-03 13:36 UTC by Alexey Rusakov
Modified: 2015-07-14 07:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Restore the 'Open with' tab for folders but hide the default handler radio group (3.69 KB, patch)
2009-08-03 14:15 UTC, Alexey Rusakov
none Details | Review

Description Alexey Rusakov 2009-08-03 13:36:27 UTC
Please describe the problem:
Although since GNOME 2.26 changing folder handlers has been disabled in the UI (see Bug 569668 for details), one still can associate several applications to open folders by means of the context menu -> Open with... option. The fix in the mentioned bug was somehow controversial, several people (including myself) were not happy with it, as can be seen from the comments. Anyway, the interface got inconsistent: you can add folder handlers, but you can't remove them. The patch that will follow brings back the 'Open with' tab for folders, but does not allow to change the default handler, thereby addressing the problem mentioned in Bug 569668. A nice bonus of the patch is for the people who had an incorrect handler set when upgrading to GNOME 2.26 - until now they were effectively trapped from fixing things, else than by finding out mimeapps.list file and editing it by hand.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Alexey Rusakov 2009-08-03 14:15:07 UTC
Created attachment 139789 [details] [review]
Restore the 'Open with' tab for folders but hide the default handler radio group

This patch only works if the patch from Bug 590629 is applied. Both patches were actually introduced in Bug 569668, but were seemingly unnoticed.
Comment 2 William Jon McCann 2012-08-21 14:52:56 UTC
I don't think we want to reintroduce the open with menu for folders. How are you adding the handlers without that menu?
Comment 3 Alexey Rusakov 2012-09-16 15:09:09 UTC
I'm not sure about Nautilus 3.6, but in Nautilus 3.4 (shipped with Ubuntu 12.04), I still have an "Open with..." menu even for folders. Moreover, I can choose a custom application to open it, and delete it afterwards - basically everything even better than in good old 2.24 days. Maybe that's Ubuntu-specific.
Comment 4 Alexey Rusakov 2012-09-16 15:10:56 UTC
P.S. Can't help looking at the calendar. It's been 3 years, argh... quite a bit.
Comment 5 Alex Ogier 2013-02-09 07:28:03 UTC
This can be problematic even without manually adding folder associations. For example, installing QuodLibet gives an "exfalso.desktop" that includes a "MimeType=inode/directory;" line, which makes it the default folder association. Without an "Open with..." menu item for folders, there is no way to remove it. Since Nautilus is the de-facto application defaults editor, it should be possible to modify folder defaults from it.
Comment 6 Alexandre Franke 2015-06-07 22:07:57 UTC
Is this still an issue with 3.16? If so, please update the version field and also provide a simple test case to reproduce the issue.
Comment 7 Carlos Soriano 2015-06-08 07:35:26 UTC
If I understood correctly the bug report, fixed in https://git.gnome.org/browse/nautilus/commit/?id=5b197d1bf8123d4dac2be5f24b6f3fd168f50853 if not, feel free to reopen.
Comment 8 Carlos Soriano 2015-06-08 07:37:10 UTC
(In reply to William Jon McCann from comment #2)
> I don't think we want to reintroduce the open with menu for folders. How are
> you adding the handlers without that menu?

Hi Jon, for the record, some people wanted it for IDE's etc. and designers agreed.
Comment 9 Oded Arbel 2015-07-13 21:39:11 UTC
Looks like in 3.16 it is solved (at last on my Fedora 22 system): you can RMB -> "Open With Other Application", then select the unwanted association, RMB -> "Forget Association". 

To associate an application with opening folder (only from "Places" and stuff like that, not when you click in Nautilus), do RMB -> "Open With Other Application" -> "View All Applications", choose the app you want and "Select" - this will set the new app as the default application for opening folders.

Its a shame that this method is so different than how you do it for files, but at least it is somewhat usable.
Comment 10 Alexandre Franke 2015-07-13 23:43:00 UTC
Carlos, did you reopen by mistake?
Comment 11 Carlos Soriano 2015-07-14 07:06:45 UTC
Hi, afaik I did not reopen myself. Maybe I did by mistake. Closing.