https://bugs.kde.org/show_bug.cgi?id=360189

            Bug ID: 360189
           Summary: file type application preference order can't override
                    ~/.config/mimeapps.list
           Product: systemsettings
           Version: 5.5.4
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: kcm_filetypes
          Assignee: fa...@kde.org
          Reporter: o...@geek.co.il

When a mime type has associated launchers in ~/.config/mimeapps.list , that
file takes precedence on choosing the application preference order and that
order can't be manipulated by the file types configuration dialog - if you try
to remove or change the order of applications listed in the
~/.config/mimeapps.list file, when you hit "OK" that change is *not saved* and
when you hit "Apply" you can actually see the order reset to what the
~/.config/mimeapps.list file specifies.

The main problem with this is that other desktop environments (notably GNOME)
writes their file associations to the config and then under KDE there is no way
to change it.

Reproducible: Always

Steps to Reproduce:
1. Start nautilus, right click some JPEG file, choose "Properies" and under the
"Open With" tab choose some program as the default (for example Gimp)
2. run `kbuildsycoca5`
3. Start dolhin, right click some JPEG file, choose "Properties" and click
"File Type Options".
4. Choose a non-default program from the "Application Preference Order" (for
example Gwenview) and use the "Move Up" button to make it the default (first in
the list).
5. Click "Apply"

Actual Results:  
The order is reset with the program chosen by Nautilus to be on top

Expected Results:  
The order should remain as the user have set it

My current workaround is to edit ~/.config/mimeapps.list and under the `[Added
Applications]` remove any association that I want to override, then run
`kbuildsycoca5`. After doing that the kcm_filetypes dialog can edit the file
types.

But any other application that uses xdg-mime to change the file association
will cause a regression in the file type association.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to