Bug 403194

Summary: Desktop files could be amalgamated to avoid multiple entries in Gtk App Chooser for Krita
Product: [Applications] krita Reporter: Stuart Axon <stu.axon>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: halla, tomilin.sdlr
Priority: NOR    
Version: 4.1.7   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Many krita entries in Gtk App Chooser

Description Stuart Axon 2019-01-13 22:55:45 UTC
Created attachment 117450 [details]
Many krita entries in Gtk App Chooser

In nautilus right click a file, Open With Other Application->View All Applications, there are many Krita entries.

(Same bug will show in other places using the GtkAppChooser, e.g. Firefox).

This occurs because Krita creates one desktop file for each file association.
Desktop files can have a list of mimetypes, so amalgamating these into one desktop file should fix the bug.


Tested on 4.1.7 - since I'm not sure how to setup file associations with the appimage.


See conversation here
https://gitlab.gnome.org/GNOME/gtk/issues/1581#note_407441
Comment 1 Halla Rempt 2019-01-14 12:17:40 UTC
Sorry, but that would be wrong. Every file type is supported by a separate plugin, so that needs to get a separate desktop file.

GTK people just should implement proper support for the freedesktop.org standard (https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html), notably the NoDisplay=true entry in these desktop files. This has been in the standard for ages. I see from the discussion you linked that they don't want to do that, but as far as I'm concerned they are wrong.
Comment 2 Halla Rempt 2019-04-16 10:10:54 UTC
*** Bug 401897 has been marked as a duplicate of this bug. ***