Comment 0 for bug 1324737

Revision history for this message
Removed by request (removed3425744) wrote :

I'm using Ubuntu 14.10 dev with libglib2.0-0 2.41.0-1 and pcmanfm 1.2.0-1 and after upgrading libglib2.0-0 from version 2.40.x I'm noticing that the order in my context menu has changed. Here is a testcase:

/usr/local/share/applications/defaults.list contains:

[Default Applications]
text/plain=SciTE.desktop;

/usr/local/share/applications/test.desktop contains:

[Desktop Entry]
Exec=true
MimeType=text/plain;
Name=Test
NoDisplay=true
Type=Application

On executing "update-desktop-database" /usr/local/share/applications/mimeinfo.cache is created and contains:

[MIME Cache]
text/plain=test.desktop;

With libglib2.0-0 2.40.x SciTE will be at the first position of the context menu and Test on the second position. After upgrading libglib2.0-0 to version 2.41.0-1 Test will be at the first position of the context menu and SciTE on the second. It seems defaults.list is ignored or its ordering is not considered anymore.