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 605814 - "Open with > other application > remember this application for ... files" not working
"Open with > other application > remember this application for ... files" not...
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Preferences
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-31 17:19 UTC by Dick Gevers
Modified: 2010-04-26 15:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Properly set the application as default (#605814). (2.86 KB, patch)
2010-04-15 11:03 UTC, Cosimo Cecchi
none Details | Review
Properly set the application as default (#605814). (3.27 KB, patch)
2010-04-15 18:19 UTC, Cosimo Cecchi
committed Details | Review

Description Dick Gevers 2009-12-31 17:19:53 UTC
Select one document, for example one with extension ".html" or ".png".

Open the context menu (via assigned button, or right clicking).

Choose "Open with" > "Other Application" 

Either selecting an application from those in the window, OR entering a custom command manually, OR using a custum command and "Open" via the "Browse" button, will not make this application the default application for this type of file.

With current nautilus (installed by means of Mandriva Linux Cooker i586 rpm packages libnautilus1-2.29.1-1mdv2010.1 and nautilus-2.29.1-1mdv2010.1) this is not working.

On the other hand, the route context menu > properties > tab "Open with" works very well as intended.

I see several bugs (e.g. 47478, 343202, 558997, 588885) that are related, but they only specify what should be enhanced. This poste is trying to tell it is simply not working this way, i.e. it will open the file once with the requested app, but not set the app as the default one for opening the file type.

I can reproduce the same on 2 different uptodate cooker machines.
Comment 1 Frank Griffin 2010-03-12 22:43:44 UTC
I confirm on Mandriva's nautilus-2.29.92.1-1mdv2010.1.x86_64.rpm
Comment 2 Sense Hofstede 2010-03-29 17:22:25 UTC
This bug was reported on Launchpad in Ubuntu at <https://launchpad.net/bugs/550004> as well.
Comment 3 Cosimo Cecchi 2010-04-15 10:27:06 UTC
I think the right behaviour should be:

- when adding a custom application from "Open with->Other Application..." with the checkbox disabled, add that application to the "Open With" list, but do not set it as default.

- when adding a custom application from that menu, and the checkbox is enabled, set it as default.
Comment 4 Cosimo Cecchi 2010-04-15 11:03:09 UTC
Created attachment 158805 [details] [review]
Properly set the application as default (#605814).

When the checkbox is enabled in the Open With dialog, set that
application as default; it the checkbox is not enabled, add the
application to the supported list.
Comment 5 Cosimo Cecchi 2010-04-15 18:19:52 UTC
Created attachment 158829 [details] [review]
Properly set the application as default (#605814).

When the checkbox is enabled in the Open With dialog, set that
application as default; it the checkbox is not enabled, add the
application to the supported list.
Comment 6 Cosimo Cecchi 2010-04-26 15:30:31 UTC
Comment on attachment 158829 [details] [review]
Properly set the application as default (#605814).

Pushed
Comment 7 Cosimo Cecchi 2010-04-26 15:30:47 UTC
This is fixed in master now.