<div dir="ltr"><div dir="ltr">Hi!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 3, 2021 at 11:59 AM David Faure <<a href="mailto:faure@kde.org">faure@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On jeudi 18 fĂ©vrier 2021 03:17:45 CEST Eli Schwartz wrote:<br>
> On 2/17/21 5:52 PM, Bastien Nocera wrote:<br>
> > The order for mime-types with no defaults has nothing to do with a<br>
> > "shared database", it's implementation specific, as it's not codified<br>
> > in the mime specs. GLib probably behaves differently than Qt does,<br>
> > which means that the file managers using either of those are likely to<br>
> > behave differently.<br>
> <br>
> Qt's native support for opening files in accordance with XDG is to<br>
> invoke /usr/bin/xdg-open.<br>
<br>
The actual code for choosing preferred applications for a mimetype, in the Qt/<br>
KDE world, isn't in Qt, but in KDE Frameworks (KService).<br>
<br>
I'm late to this thread, but before we talk about adding even more complexity <br>
to the solution of choosing an app for a mimetype, I'd like to understand why <br>
<a href="https://specifications.freedesktop.org/mime-apps-spec/latest/" rel="noreferrer" target="_blank">https://specifications.freedesktop.org/mime-apps-spec/latest/</a><br>
doesn't solve the issue. If the distro's mimeapps.lst says<br>
image/jpeg=gwenview.desktop;gimp.desktop;<br>
then JPEG files will be opened in gwenview (if installed) rather than in GIMP,<br></blockquote><div><br></div>These are defaults or user customization. It's nice but cannot be exhaustive by definition. It won't ever take into account all software.</div><div class="gmail_quote">And more to the point: it doesn't talk/handle at all about intent which is the whole point of this thread.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Jehan<br></div><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
PS: the above link points to an out of date version of the spec, does anyone <br>
know how to fix the setup so that the mapping from web-export/specs.idx <br>
actually ends up on the website?<br>
Has this been updated with the move to gitlab?<br>
<br>
-- <br>
David Faure, <a href="mailto:faure@kde.org" target="_blank">faure@kde.org</a>, <a href="http://www.davidfaure.fr" rel="noreferrer" target="_blank">http://www.davidfaure.fr</a><br>
Working on KDE Frameworks 5<br>
<br>
<br>
<br>
_______________________________________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org" target="_blank">xdg@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/xdg" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/xdg</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">ZeMarmot open animation film<br><a href="http://film.zemarmot.net" target="_blank">http://film.zemarmot.net</a><br>Liberapay: <a href="https://liberapay.com/ZeMarmot/" target="_blank">https://liberapay.com/ZeMarmot/</a><br>Patreon: <a href="https://patreon.com/zemarmot" target="_blank">https://patreon.com/zemarmot</a><br>Tipeee: <a href="https://www.tipeee.com/zemarmot" target="_blank">https://www.tipeee.com/zemarmot</a></div></div>