nautilus don't show thumbnails for jpg images

Bug #198154 reported by badhorse
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

In my laptop with Hardy Heron, Nautilus don't show thumbnails for JPG images, only for GIF or PNG. I have all the updates installed. Only when i use the Eye of Gnome for view these images and refresh the nautilus window the thumbnails appears. Deleting the .nautilus and .thumbnails hidden folders don't fix the problem.

Revision history for this message
badhorse (newbadhorse-deactivatedaccount) wrote :
Revision history for this message
badhorse (newbadhorse-deactivatedaccount) wrote :

I have noticed that: nautilus shows the thumbnail if the image has the .jpeg extension instead .jpg

Sorry for my bad english.

Revision history for this message
A. Walton (awalton) wrote :

Thanks for your bug, but we could use a little more information to solving this one. Can you give us the results of the following command on any one of the images:

gvfs-info ~/path/to/image.jpg

In particular, we're looking for the standard::content-type and thumbnail::* keys.

Revision history for this message
badhorse (newbadhorse-deactivatedaccount) wrote :

Here is the result of the comand:

miguel@miguel-laptop:~/Imágenes$ gvfs-info avatar.jpg
display name: avatar.jpg
edit name: avatar.jpg
name: avatar.jpg
type: regular
size: 35955
attributes:
  standard::name: avatar.jpg
  standard::type: 1
  standard::size: 35955
  standard::display-name: avatar.jpg
  standard::edit-name: avatar.jpg
  standard::copy-name: avatar.jpg
  standard::content-type: application/x-extension-jpg
  standard::icon: GThemedIcon:0x805f550
  standard::fast-content-type: application/x-extension-jpg
  unix::device: 2051
  unix::inode: 7635488
  unix::mode: 33188
  unix::nlink: 1
  unix::uid: 1000
  unix::gid: 1000
  unix::rdev: 0
  unix::block-size: 4096
  unix::blocks: 72
  time::modified: 1185349429
  time::modified-usec: 0
  time::access: 1204577284
  time::access-usec: 0
  time::changed: 1187352677
  time::changed-usec: 0
  etag::value: 1185349429:0
  id::file: l2051:7635488
  id::filesystem: l2051
  owner::user: miguel
  owner::user-real: Miguel Angel Marcos
  owner::group: miguel
  access::can-read: TRUE
  access::can-write: TRUE
  access::can-execute: FALSE
  access::can-rename: TRUE
  access::can-delete: TRUE
  access::can-trash: TRUE

there is no thumbnail::* key. Is that the problem?

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

could you attach an example to the bug?

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
badhorse (newbadhorse-deactivatedaccount) wrote :

An example? What kind of example? I don't know if it's really a bug or a system config issue,but nautilus don't show any thumbnail if the image has the .jpg extension only a white icon (like i posted in my first entry to this bug). Nothing more. If the extension is .gif, .png or .jpeg nautilus work fine and show the thumbnail for the image. I did a clean install of Hardy over my Gutsy system (formatting root partition but keeping home partition), deleting .nautilus and .thumbnails hidden folders and the problem continues.

Revision history for this message
A. Walton (awalton) wrote :

He meant to attach a sample image to the bug, one that was causing the problem. But I think it may be something simpler. You should check ~/.local/share/mime/ and make sure you don't have an entries overriding JPG's MIME entry. The likely culprit is in ~/.local/share/mime/globs, a line something like the following might have crept in:
application/x-extension-jpg:*.jpg
If so, comment it out by adding "# " in front of it (note the space).
# application/x-extension-jpg:*.jpg

Nautilus's thumbnailer is looking for images with specific content types (mime-types), and application/x-extension-jpg isn't on the list (as it should be reporting image/jpeg for a jpg image). Certain applications (F-Spot in particular) have been known to override this entry in the past for whatever reasons.

Revision history for this message
badhorse (newbadhorse-deactivatedaccount) wrote :

Yes, it works!!
Thanks A. Walton for your workaround and interest and sorry for wasting your time. Thanks. Please close this bug entry and sorry again.

Revision history for this message
badhorse (newbadhorse-deactivatedaccount) wrote :

Oh, and thanks to Sebastien Bacher too, of course.

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

closing since that's not a bug and works correctly now

Changed in nautilus:
status: Incomplete → Invalid
dstrout (dstrout)
Changed in nautilus (Ubuntu):
status: Invalid → Confirmed
status: Confirmed → Invalid
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.