After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 551995 - Gimp should install itself as a thumbnailer service for XCF files
Gimp should install itself as a thumbnailer service for XCF files
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: General
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2008-09-12 16:49 UTC by Chris Mohler
Modified: 2018-05-24 12:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Thumbnail plugin for GIMP (1.01 KB, text/x-python)
2008-09-12 16:52 UTC, Chris Mohler
Details

Description Chris Mohler 2008-09-12 16:49:50 UTC
New XCF files (saved from GIMP) have thumbnails, but copied ones do not.  Opening in GIMP will create a thumbnail, but it would be nice to have them auto-generated if you are copying over a lot of them - from a backup for example.

Other information:
Comment 1 Chris Mohler 2008-09-12 16:52:42 UTC
Created attachment 118603 [details]
Thumbnail plugin for GIMP
Comment 2 Chris Mohler 2008-09-12 16:54:23 UTC
Workaround (using currently):

Save the attachment (#1) in ~/.gimp-2.x/plug-ins, making sure it is executable. 

Enable in gconf (two commands - watch out for line wraps):
gconftool --set /desktop/gnome/thumbnailers/image@x-xcf/command -t
string "gimp-console -i -n -f -d -s -b '(python-fu-thumbnailer
RUN-NONINTERACTIVE \"%u\")'"

gconftool --set /desktop/gnome/thumbnailers/image@x-xcf/enable -t boolean
"True"


To add more file types, run the commands again, replacing
"image@x-xcf" with the appropriate mime type.  Using "image@x-psd"
will add thumbnails for Photoshop files.
Comment 3 Cosimo Cecchi 2008-09-13 09:55:12 UTC
-> gimp

It's not a Nautilus' duty to install thumbnailers for specific formats. In this case, that should be done by GIMP, reassigning.
Comment 4 Michael Schumacher 2008-09-13 12:19:39 UTC
This is not for the Installer component.
Comment 5 Sven Neumann 2008-09-13 12:45:40 UTC
GIMP creates the thumbnails for XCF files. It is nautilus duty though to take care of the thumbnails when a file is renamed or copied.
Comment 6 Cosimo Cecchi 2008-09-13 13:28:09 UTC
@Sven: I guess we have a misunderstanding here.
AFAICS, the bug report is about GIMP not installing himself as a thumbnailer for the XCF format, not about having thumbnails taken care when copying/renaming the file. The reporter says this can be done with a little script that GIMP has to install, for example as /usr/bin/gimp-thumbnailer, and to associate it (installing a GConf entry) with the mime types GIMP wants to manage the thumbnails of, and it indeed seems a good idea to me...there's nothing Nautilus can do here.

Reassigning to GIMP, hope the report is more clear now.
Comment 7 Sven Neumann 2008-09-24 17:26:42 UTC
It shouldn't be too difficult to create a new binary, linking in some of the core GIMP core, that is able to read XCF files and to output a full-scale view in common image formats, or alternatively write a thumbnail (using libgimpthumb). But I am afraid that won't make it into GIMP 2.6 still.
Comment 8 Chris Mohler 2012-04-06 21:19:39 UTC
The package 'gnome-xcf-thumbnailer' will create thumbnails in Gnome 3, but only after manually creating an entry in /usr/share/thumbnailers as outlined in this bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655465

I'm not sure who upstream is - Debian?

Anyway, I suppose this bug should be closed?
Comment 9 Cosimo Cecchi 2012-04-09 14:56:37 UTC
The only tarball ever released lives here [1], but I can't find the actual upstream git repository.
I don't think there's any active upstream for the module at the moment.

[1] http://ftp.acc.umu.se/pub/GNOME/sources/gnome-xcf-thumbnailer/
Comment 10 Chris Mohler 2013-06-18 03:02:58 UTC
Situation is the same as comment 8 - the 'gnome-xcf-thumbnailer' package will generate thumbnails if the .thumbnailer file is manually created afterward.

Should this be closed 'notgnome'?
Comment 11 Jehan 2016-10-20 17:48:43 UTC
I discover this report, which looks interesting.
I suggest we have a separate binary (called `gimp.thumbnail` probably, that seems to be how most thumbnailers are named under my /usr/share/thumbnailers/), as suggested in comment 7.

IMO, it should not be just a script requiring GIMP as dependency (initial propositions) because then it could not be installed independently (we could imagine distribution installing such thumbnailer as a default).

Adding the "newcomers" keyword because writing such a binary should not be too hard.
Comment 12 Jehan 2017-03-05 14:49:24 UTC
I had a look at the source of gnome-xcf-thumbnailer (comment 9). It relies on xcftools code, which means we can't use it, since it won't be up to date with our format. We need a binary relying on our code if we want to make sure a XCF thumbnail always work reliably.

So unless we are fine with this situation of a third party unmaintainer thumbnailer, we cannot close (to answer comment 10).
Comment 13 GNOME Infrastructure Team 2018-05-24 12:23:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/278.