Raw thumbnailer schema does not include all raw mime types

Bug #290746 reported by Matthew Williams
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-raw-thumbnailer (Ubuntu)
Fix Released
Low
Scott Ritchie
shared-mime-info (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gnome-raw-thumbnailer

In the Hardy 2.0.1-0ubuntu5 gnome-raw-thumbnailer package, the gnome schema XML file only includes the image/x-dcraw mime type. However, /usr/share/mime/packages/freedesktop.org.xml has unique mime types for each camera raw format. The freedesktop mime types override the /usr/share/mime/package/gnome-raw-thumbnailer.xml mime definition and the thumbnailer fails to trigger.

To fix this problem, the schema file /usr/share/gconf/schemas/gnome-raw-thumbnailer.schemas needs to be updated to include not only image/x-dcraw, but the other mime types defined in the freedesktop.org.xml file.

In my case, my camera generates .crw raw files. By changing the references in the schema file from image@x-dcraw to @x-canon-crw, the thumbnailer correctly triggers.

Revision history for this message
Stefaan Vanderheyden (svd) wrote :

Same comment as Matthew regarding mime-type type="image/x-sony-arw"...

Revision history for this message
François Tissandier (baloo) wrote :

Same for Canon CR2. If the file is created with the .CR2 extension, the thumbnail is created automatically. If the file is created with the .cr2 extension (image/x-canon-cr2), no thumbnail.

Changed in gnome-raw-thumbnailer (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Scott Ritchie (scottritchie) wrote :

I'm updating the schemas file based on the latest subclasses of x-dcraw that I could find in shared-mime info. While doing this, I found some unexpected filetypes.

shared-mime-info has information for 5 image formats that the .xml file in gnome-raw-thumbnailer lacks: .ang, .k25, .raw, .sr2, and .arw. These will now work for the first time.

shared-mime-info does not have information for these file types that are in the gnome-raw-thumbnailer .xml: .bay, .bmq, .cs1, .dc2, .fff, .mos, .raf, and .rdc. These are likely parts missing from shared-mime-info, so I'm opening a task against shared-mime-info.

Once these are added to shared-mime-info then gnome-raw-thumbnailer's schemas will need to be updated again to support them.

Changed in gnome-raw-thumbnailer (Ubuntu):
assignee: nobody → Scott Ritchie (scottritchie)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-raw-thumbnailer - 2.0.1-0ubuntu6

---------------
gnome-raw-thumbnailer (2.0.1-0ubuntu6) karmic; urgency=low

  * gnome-raw-thumbnailer.schemas
    - Update schemas file to include new MIME types (LP: #290746)
    - does not include .bay, .bmq, .cs1, .dc2, .fff, .mos, .raf, and .rdc
    - patch is stored in debian/patches using quilt
  * debian/control:
    - replace scrollkeeper with rarian-compat
    - add self to Uploaders

 -- Scott Ritchie <email address hidden> Sun, 06 Sep 2009 01:45:26 -0700

Changed in gnome-raw-thumbnailer (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version.Thanks in advance.

Changed in shared-mime-info (Ubuntu):
status: New → Incomplete
Revision history for this message
Scott Ritchie (scottritchie) wrote :

As an update, the above missing formats are still not in shared-mime-info as of 0.90, with the exception of .raf.

Changed in shared-mime-info (Ubuntu):
status: Incomplete → Confirmed
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.