! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
not all images preview in file chooser for wallpaper
Status:
RESOLVED: FIXED

Comments

Description Jérôme Guelfucci editbugs 2007-10-27 09:25:27 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.8) Gecko/20061201 Epiphany/2.18 Firefox/2.0.0.8 (Ubuntu-feisty)
Build Identifier: 

This was reported on Launchpad : https://bugs.edge.launchpad.net/ubuntu/+source/xfdesktop4/+bug/157592
by : https://bugs.edge.launchpad.net/~rhavenn

Xubuntu 7.10 (Gutsy) release - x86
minimal packages
noticed on multiple PCs

Reproducible: Always

Steps to Reproduce:
When going into "Desktop Settings" and selecting the Finder for "selecting background image" not all the images get a "preview" image in the right side.
I have a few background images (50+) and most are JPGs. Seemingly at random some will display a preview and some won't. All file perms (644) and ownership are the same for all files.




This only happens if I haven't viewed the folder in Thunar. Once Thunar has generated the thumbnails then the "Desktop Background Selector" will as well. So, I'm guessing it isn't trying to create it's own thumbnails and just looking for a cache of the image?
Comment 1 Jérôme Guelfucci editbugs 2007-10-27 09:30:23 CEST
Gauvain Pocentek tells me it must a problem with exo_gtk_file_chooser_add_thumbnail_preview() which doesn't create the thumbnails if they don't exist.
Comment 2 Brian J. Tarricone (not reading bugmail) 2007-10-27 17:27:33 CEST
Someone else added a patch for this... Benny, looks like this is yours.
Comment 3 Benedikt Meurer editbugs 2007-11-28 18:57:49 CET
The preview window will use thumbnails if they exists. If not, it will generate a thumbnail onthefly. See exo-thumbnail.c for details.

I cannot reproduce the bug here.
Comment 4 Jérôme Guelfucci editbugs 2007-11-28 19:33:51 CET
Well, I was able to reproduce the bug, it seems that the thumbnails aren't created everytime they should. I don't know if it's related, but we have gtk 2.12 which caused some issues concerning some xfce parts, maybe it has something to do with this issuee.

Comment 5 Benedikt Meurer editbugs 2007-11-28 19:37:54 CET
Hm, I have 2.10 here. Maybe you can try to debug the problem by inserting a few printf's in exo-thumbnail.c.
Comment 6 Jérôme Guelfucci editbugs 2007-11-29 06:34:24 CET
My knowledge in code is around zero, may be less... If you could provide me the exo-thumbnail.c, I would be pleased to build everything and to test it.
Comment 7 Daniel Butzu 2007-12-08 21:19:42 CET
The same behavior here, with gtk 2.12.1. I can get a preview only for about 30% of images.
Comment 8 Daniel Butzu 2007-12-08 21:29:18 CET
I just wanted to add that in my case it's about a Gentoo system and not Xubuntu.
Comment 9 Jérôme Guelfucci editbugs 2009-10-06 12:41:00 CEST
I can't reproduce this anymore, is this still a problem for other people?
Comment 10 Nick Schermer editbugs 2009-10-09 12:58:53 CEST
Long time no news, we also used the wrong signal for updating the images, so that could be related. Please re-open if anyone still has these problems.

Bug #3627

Reported by:
Jérôme Guelfucci
Reported on: 2007-10-27
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
4 users

Version

Version:
unspecified

Attachments

Additional information