Bug 71932 - Consistent ordering for update-desktop-database
Summary: Consistent ordering for update-desktop-database
Alias: None
Product: desktop-file-utils
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium enhancement
Assignee: Hans Petter Jansson
QA Contact:
Depends on:
Reported: 2013-11-23 01:18 UTC by sworddragon2
Modified: 2018-11-12 15:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description sworddragon2 2013-11-23 01:18:43 UTC
I'm using desktop-file-utils 0.22 and the manpage for update-desktop-database contains the following:

"The order of the desktop files found for a MIME type is not significant.  Therefore, an external mechanism must be used to determine what is the preferred desktop file for a MIME type."

It is not unlikely that an application will use the first desktop entry in the mime database if a related entry in [Default Applications] is not set. In the worst case this means 2 systems with the same desktop files could generate different cached mime database which could result in different default desktop entries used for some applications. Maybe it would be useful if a sorting here is guaranteed. A simple sorting by filename or something else should not hurt.
Comment 1 Vincent Untz 2015-09-18 09:50:44 UTC
Sorry for the noise, reassigning to new maintainer.
Comment 2 GitLab Migration User 2018-11-12 15:15:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/desktop-file-utils/issues/3.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.