Bug 409359

Summary: /usr/share/applications/kde-mimeapps.list contains "kde4-" prefix for all .desktop file entries, which causes problems
Product: [Applications] systemsettings Reporter: Syam <get.sonic>
Component: kcm_filetypesAssignee: David Faure <faure>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: agurenko, kevin.kofler, rdieter
Priority: NOR    
Version First Reported In: 5.15.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: /usr/share/applications/kde-mimeapps.list after fixing PDF entry

Description Syam 2019-07-01 09:10:37 UTC
Created attachment 121253 [details]
/usr/share/applications/kde-mimeapps.list after fixing PDF entry

The entries in /usr/share/applications/kde-mimeapps.list have "kde4-" prefix for all .desktop filenames.

Observed Problem
---------------------
PDF files when opened from the downloads list of Firefox, starts up Gimp instead of Okular which is the associated application set in KDE. On this machine, only KDE is installed (no other DE). Similar behaviour is seen when opening PDF files from Zotero.
xdg-open foo.pdf works as expected and brings up Okular.

This problem was fixed by editing /usr/share/applications/kde-mimeapps.list and deleting "kde4-" prefix for the .desktop filename for application/pdf entry.
Comment 1 Kevin Kofler 2019-07-01 09:38:32 UTC
Sorry, kde-settings is a Fedora distro-specific package providing distro-specific defaults. It does not come from upstream KDE. So please file this at https://bugzilla.redhat.com/ . Thanks in advance.