https://bugs.kde.org/show_bug.cgi?id=305136
--- Comment #22 from nyanpasu64 <nyanpas...@tuta.io> --- One detail I failed to realize or mention earlier, is that in GTK file managers like Thunar (and probably Nautilus), opening a file in a particular app (even without setting it as default) actually sets a "soft" default file association by reordering the file format's entry in mimeapps.list [Added Associations]. For example, if you open Thunar, right-click a .zip file, and pick Open With -> Open With "Archive Manager" (or pick "Open With Other Application..." and in the dialog *don't* check "Use as default for this kind of file"), then ~/.config/mimeapps.list [Added Associations] gets a new entry `application/zip=org.gnome.FileRoller.desktop;...`, where org.gnome.FileRoller (Archive Manager) comes first. I think this is accomplished through g_app_info_set_as_last_used_for_type() (https://docs.gtk.org/gio/method.AppInfo.set_as_last_used_for_type.html -> g_desktop_app_info_set_as_last_used_for_type https://gitlab.gnome.org/GNOME/glib/-/blob/62a9a8a660fadf2355342b1d95c539432c666fe1/gio/gdesktopappinfo.c#L3865). KDE/Qt's Dolphin respects the "soft" default association from [Added Associations], but does not set [Added Associations] when you open a file in an app. In Thunar, if you open properties of a .zip file and set a default *there*, then a [Default Applications] entry gets created (probably g_app_info_set_as_default_for_type() https://docs.gtk.org/gio/method.AppInfo.set_as_default_for_type.html). At this point, Thunar's "Open With" menu still reorders the format's entry in [Added Associations], but the order's first entry is ignored in favor of the association in [Default Applications]. -- You are receiving this mail because: You are watching all bug changes.