Nikon NEF image file type shown as tiff

Bug #93026 reported by Timo Aaltonen
4
Affects Status Importance Assigned to Milestone
shared-mime-info (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

Nautilus first shows Nikon RAW files (.NEF) as "Nikon raw image" (which is correct) but as soon as I click on one, the type is changed to "TIFF image".

Another side effect of this is that after clicking on the file the thumbnail isn't shown anymore (the file has a thumbnail embedded) and instead there is a generic icon for a picture.

Timo Aaltonen (tjaalton)
Changed in nautilus:
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. Could you attach an image example to the bug?

Changed in nautilus:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Ok, I put it here (it's 5MB)

http://users.tkk.fi/~tjaalton/pic/

Actually, I installed ufraw which has it's own mime-info file and the behaviour is now consistent. The Nikon-reference came from /usr/share/mime/packages/freedesktop.org.xml, which maybe should include a bit more than just this:

  <mime-type type="image/x-nikon-nef">
    <comment>Nikon raw image</comment>
    <glob pattern="*.nef"/>
  </mime-type>

while ufraw-mime.xml has this:

  <mime-type type="image/x-nikon-nef">
    <sub-class-of type="image/x-dcraw"/>
    <sub-class-of type="image/tiff"/>
    <comment>Nikon raw image</comment>
    <acronym>NEF</acronym>
    <expanded-acronym>Nikon Electronic Format</expanded-acronym>
    <glob pattern="*.nef"/>
  </mime-type>

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

This upload fixes the bug:

 shared-mime-info (0.20-0ubuntu3) feisty; urgency=low
 .
   * debian/patches/090_from_cvs_raw_camera_image.patch:
     - patch from CVS, list raw camera types (Ubuntu: #93026)

Changed in shared-mime-info:
status: Needs Info → Fix Released
Revision history for this message
Monika Cisch (moniaqua) wrote :

I'm working on Ubuntustudio 7.10, gutsy gibbon, shared-mime-info is version 0.22-2ubuntu2 and have that same problem (didn't have it under edgy eft and skipped feisty fawn); installing the stand-allone version of ufraw did not really help. As I work with F-Spot as catalogue I would love to have the right mime-typ on the NEFs (uppercase; nef lower-case-letters is working fine), because else it doesn't give me GIMP in the context-menue and I'm not really fond of bulk-renaming xxxx pictures in ?? folder and subfolder :)

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.