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.
I'd say this is a duplicate of bug#354179... This is fixed in 5.6.0, keditfiletype5 now writes the changes to ~/.config/mimeapps.list. *** This bug has been marked as a duplicate of bug 354179 ***