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 420267 - Setting default mime type handler with Open With Other Application dialog not consistent
Setting default mime type handler with Open With Other Application dialog not...
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.18.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 463014 553402 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-03-19 20:33 UTC by freggy1
Modified: 2008-10-15 12:21 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description freggy1 2007-03-19 20:33:39 UTC
Please describe the problem:
When you click on a file, and choose Open With, you get a list of different applications proposed. If you choose now "Open With Other application" and you choose an application that was not in the first list, this application will be set as the default mime type handler (e.g. choose Epiphany in Open With Other Application for a JPEG file).

When now opening the same dialog "Open With Other Application", but choosing an application which was already in the proposed list, this application will *not* be set as the default mime type handler. This is in contrary to what the text in this dialog is saying: "Open foo.jpeg and other files of type "JPEG image with", which implies that it will become the default handler.

This inconsistency is very confusing, as I firstly thought it was a real programming bug (http://qa.mandriva.com/show_bug.cgi?id=29641).

The best way to solve this in an intuitive way, is to never set the mime type when Open With or Open With Other application is chosen, but only when the Properties dialog for the file is used.

Steps to reproduce:
1. Right click on JPEG image, choose Open With Other Application, and choose Epiphany
2. Notice that from now on, all JPEG images are opened in Epiphany
3. Right click on JPEG image, choose Open With Other Application, and choose Image Viewer (eog)


Actual results:
When choosing Open With Other Application - Image Viewer, the file is indeed opened with eog. When double clicking another time on the same file, the file is again opened in Epiphany. This behaviour is not consistent with point 1 and 2, and not consistent with the text in the dialog

Expected results:
According to the dialog, all JPEG files should be opened by default with Image Viewer from now on.

Does this happen every time?
Yes

Other information:
Maybe the best solution to solve this in an intuitive way, is to never set the mime type when Open With or Open With Other application is chosen, but only when the Properties dialog for the file is used. Of course, then the text in the dialog has to be modified.
Comment 1 João Matos 2007-06-17 02:00:19 UTC
I can also confirm this bug, in GNOME 2.18.2 in Arch Linux.
Comment 2 Mike Hudson 2007-06-20 01:12:00 UTC
I agree that this is a terrible bug.

Open With / Open With Other Application doe NOT set the default application for future opens despite the claims that it will !!

This is completely inconsistent.

When it says "Open file xxxx.ext and other files of type ext" it SHOULD set the default application for that MIME type.


(Properties / Open With *DOES* set the default application WTF ???!!!)



Comment 3 André Klapper 2008-03-12 11:49:45 UTC
*** Bug 463014 has been marked as a duplicate of this bug. ***
Comment 4 Nelson Benitez 2008-10-15 12:20:35 UTC
This has been recently fixed, in nautilus 2.25.1 is working fine. Marking as fixed.
Comment 5 Nelson Benitez 2008-10-15 12:21:06 UTC
*** Bug 553402 has been marked as a duplicate of this bug. ***