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 637264 - The 'Remember this application for ..." option changes the default for both files and folders
The 'Remember this application for ..." option changes the default for both f...
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-12-14 21:50 UTC by mc2man
Modified: 2011-03-22 12:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Change default to off (1.07 KB, patch)
2011-03-17 00:08 UTC, Phillip Susi
none Details | Review
Patch to hide the option for directories (2.32) (1.28 KB, patch)
2011-03-22 12:33 UTC, Rodrigo Moya
none Details | Review
Updated patch for 2.32 (1.36 KB, patch)
2011-03-22 12:42 UTC, Rodrigo Moya
none Details | Review

Description mc2man 2010-12-14 21:50:45 UTC
When using the 'open with other application' context menu if the 'Remember this application for ... files" is enabled it will cause the app chosen to become the new default.
This happens for both files and folders, while not the biggest issue on files it does create problems when the default folder handler is switched from nautilus to the app chosen in the 'other application' context menu.

At the very least the "Remember this application for ... files" option should not be active by default, a simple one line edit to the source would take care of that.
(libnautilus-private/nautilus-open-with-dialog.c

What the actual intention of this option is, is not clear, if it's to change the default for dir.'s and filetypes then it should explicitly say so .

If it's intended to 'add' the app chosen to the 'open with' context menu then it's no longer needed, whether the option is active or not all choices from the 'other application' menu will be added to 'open with' menu automatically.
Comment 1 Phillip Susi 2011-03-17 00:08:20 UTC
Created attachment 183592 [details] [review]
Change default to off

Attaching patch.
Comment 2 Cosimo Cecchi 2011-03-21 13:57:08 UTC
Hi Phillip, thanks for your patch.
This part of Nautilus got redesigned and rewritten during the 3.0 development cycle, so your patch is not necessary anymore, and does not apply to current git.
I'm closing this bug as OBSOLETE, feel free to try out the new implementation and report any bugs you may find with it.
Comment 3 Rodrigo Moya 2011-03-22 12:33:43 UTC
Created attachment 184055 [details] [review]
Patch to hide the option for directories (2.32)

Cosimo, Sebastien told me you would accept a patch for 2.32 that would hide the checkbox for directories, so here it is
Comment 4 Rodrigo Moya 2011-03-22 12:42:07 UTC
Created attachment 184057 [details] [review]
Updated patch for 2.32