Bug 371640 - File type assocations override Gnome preferences
Summary: File type assocations override Gnome preferences
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_filetypes (show other bugs)
Version: 5.8.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-24 23:16 UTC by piedro
Modified: 2021-03-12 22:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description piedro 2016-10-24 23:16:26 UTC
As I understand there is a file for desktop specific mime type preferences: 

The file association dialog doesn't write to "~/.config/kde-mimeapps.list". 

This leads to overlap with the Gnome desktop preferences. The mechanism for using a desktop specific file type association file is already there implemented in the XDG standard - it should clearly be used. 

Otherwise users have to reset their association preferences every time they start another DE. 
Or build their mime type lists manually which seems a bit challenging...  

Please just change the location where the file type associations are stored so they only apply to KDE and do not interfere with the preferences of Gnome and XFCE and what ever else there is by using the intended methods... 

thx for reading, 
piedro  

Reproducible: Always
Comment 1 Justin Zobel 2021-03-12 07:11:52 UTC
Thanks for the report Piedro. It seems this is now fixed as I just made an adjustment to my mp4 file association and I can see that ~/.config/mimeapps.list has been modified.

Can you please confirm if this issue is still affecting you?

I've set this bug to NEEDSINFO. When you reply, please change the bug back to REPORTED so we know it's ready for investigation or RESOLVED/WORKSFORME if the issue is now resolved.
Comment 2 piedro 2021-03-12 11:26:57 UTC
Hi Justin! 

"It seems this is now fixed as I just made an adjustment to my mp4 file association and I can see that ~/.config/mimeapps.list has been modified." 

That is exactly the bug I reported. 

It should NOT write to ~/.config/mimeapps.list ! 
It should write to ~/.config/kde-mimeapps.list ! 

As recommended by the XDG standards. 

Thx for reading...
Comment 3 Justin Zobel 2021-03-12 22:24:50 UTC
> As recommended by the XDG standards. 

I had a quick look but cannot find it, can you please provide a link to this standard around the mimeapps.list file standards, thank you.