https://bugs.kde.org/show_bug.cgi?id=427744

--- Comment #11 from David Faure <fa...@kde.org> ---
OK, for vlc vs mkvbuilder I guess none of them have an InitialPreference since
they are not KDE apps.
And I assume you didn't have either one in mimeapps.list?

I'll have to double-check if alphabetical sorting is really what's happening or
if it's more or less random. But I think the freedesktop.org idea for solving
this was simply that distros would prepare global kde-mimeapps.list files for
most common mimetypes.

I wonder if they do, though. I see a
/usr/share/applications/gnome-mimeapps.list on my system (OpenSUSE) but no
kde-mimeapps.list. Maybe they thought "no need, since KDE uses
InitialPreference" .... but that's not true for non-KDE apps :)

Anyhow, in the absence of a *-mimeapps.list entry, I see your point about using
modification time of the desktop file rather than alphabetical sorting (if
indeed that's what the code does). But will this really match time of
installation, or time when the binary package itself was created? I just
noticed a /usr/share/applications/gens.desktop from 2008 on my current system,
which I only installed a few months ago... :) Maybe a special case because the
RPM was "converted from a deb file", but still, this is something to
double-check before we use mtimes.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to