User mime type not used in nautilus

Bug #1863913 reported by Eero Aaltonen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
New
Low
Unassigned

Bug Description

I have a user local mime type definition .local/share/mime/graphml+xml.xml

```
<?xml version="1.0" encoding="utf-8"?>
<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/graphml+xml">
  <!--Created automatically by update-mime-database. DO NOT EDIT!-->
  <comment>GraphML file</comment>
  <icon name="yicon32"/>
  <glob-deleteall/>
  <glob pattern="*.graphml"/>
</mime-type>
```

and have registered it with `update-mime-database ~/.local/share/mime`

Querying the mime database from the command line gives correct results:
$ gio mime application/graphml+xml
Default application for “application/graphml+xml”: yed.desktop
Registered applications:
 yed.desktop
Recommended applications:
 yed.desktop

In Ubuntu 16.04 nautilus would also use the new mime type and the associated default application.

In Ubuntu 18.04 this is however not the case.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: nautilus 1:3.26.4-0~ubuntu18.04.5
ProcVersionSignature: Ubuntu 4.15.0-76.86-generic 4.15.18
Uname: Linux 4.15.0-76-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Feb 19 17:03:23 2020
InstallationDate: Installed on 2018-01-10 (769 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
SourcePackage: nautilus
UpgradeStatus: Upgraded to bionic on 2019-02-12 (372 days ago)
usr_lib_nautilus:

Revision history for this message
Eero Aaltonen (ejn) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, that's probably something you should report upstream on https://gitlab.gnome.org/GNOME/nautilus/issues/

Changed in nautilus (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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