defaults.list is ignored

Bug #1324737 reported by Sworddragon on 2014-05-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)

Bug Description

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]

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

[Desktop Entry]

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

[MIME Cache]

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.

Edit: I have now noticed that on a double click of a file the correct application will be started if it is registered in defaults.list while the context menu is still showing the wrong order.

description: updated
description: updated
Sworddragon (sworddragon) wrote :

Now I'm also noticing that some types are not associated correctly anymore. For example /usr/share/applications/defaults.list contains the entry "application/pdf=evince.desktop" and /usr/share/applications/mimeinfo.cache contains the entry "application/pdf=gimp.desktop;evince-previewer.desktop;evince.desktop;" (both files are readable by my user) but on a double click on a PDF document evince is not started and the context menu doesn't even contain an entry for evince.

Sworddragon (sworddragon) wrote :

I have also created a bugreport on the PCManFM ( ) and GNOME ( ) tracker.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.