[Xfce-bugs] [Bug 14811] New: The order of MIME type associations changes based on their usage

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Oct 29 15:15:02 CET 2018


https://bugzilla.xfce.org/show_bug.cgi?id=14811

            Bug ID: 14811
           Summary: The order of MIME type associations changes based on
                    their usage
    Classification: Xfce Core
           Product: Thunar
           Version: 1.8.2
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: Bakhelit at gmail.com
                CC: benny at xfce.org, hjudt at xfce.org
  Target Milestone: 1.8.3

Dear XFCE developers,

The order of MIME type associations offered in Thunar "Open with" context menu
changes based on what was the last used association. This is reproducible at
least with Thunar 1.6.11 (on my main system - Debian Stretch) and with Thunar
1.8.2 (on my VM system - Debian Stretch + Thunar and its dependences from
Sid/Stretch Backports). An example to better illustrate this:

In the "/etc/xdg/mimeapps.list" I have the following defined for "image/jpeg":

image/jpeg=geeqie.desktop;gimp.desktop;firefox-esr.desktop;pto_gen.desktop;display-im6.q16.desktop;

This means that when I open JPG file in Thunar I want it to always use the
viewer program by default (Geeqie). But instead every time I for example open
some JPG files for editing using GIMP then GIMP becomes the default association
for JPG. Thus, it is like I would have edited "/etc/xdg/mimeapps.list" to have
the following defined for "image/jpeg" (the preferred order changes):

image/jpeg=gimp.desktop;geeqie.desktop;firefox-esr.desktop;pto_gen.desktop;display-im6.q16.desktop;

This is quite annoying especially for MIME types that have more than 2
associations, because then the remaining associations are shown in a submenu of
the Thunar context menu. It is not ok when your preferred and most frequently
used application for the given MIME type gets reordered into a submenu. Not to
mention the surprise when one just double clicks on a file in Thunar and the
file opens using a non-default association (e.g. opening an image causes the
whole GIMP to start instead of just quickly viewing it in Geeqie, which is my
preferred association). If this dynamic changing of MIME type associations is
desired by some I sugest at least an option to disable this is added to Thunar
or XFCE settings.

Anyways big thanks for developing XFCE and Thunar in a way that offers a
customizable and non-bloated desktop experience at the same time (I think its
quite rare nowadays:).

Best Regards
Bakhelit

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list