GNOME Bugzilla – Bug 778666
Needs its own thumbnailer
Last modified: 2017-06-27 22:02:36 UTC
gnome-desktop used to special-case gdk-pixbuf supported image types, checking whether they were supported at run-time. As librsvg creates its own gdk-pixbuf module, and the .thumbnailer file for gdk-pixbuf is created at compile-time, librsvg needs to either create a .thumbnailer file that would reference gdk-pixbuf-thumbnailer, or, better, create its own thumbnailer helper.
*** Bug 780956 has been marked as a duplicate of this bug. ***
Created attachment 349354 [details] [review] Add .thumbnailer file for gdk-pixbuf-loader This is required for svg thumbnails to work with gnome-desktop 3.24
Created attachment 349355 [details] [review] Add .thumbnailer file for gdk-pixbuf-loader remove extra spaces
Created attachment 349356 [details] [review] Add .thumbnailer file for gdk-pixbuf-loader (2.40 branch) This is required for svg thumbnails to work with gnome-desktop 3.24 Here's the commit for the librsvg-2-40 branch since that's what I expect GNOME 3.24 distros to ship.
MimeType=image/svg+xml; Can you add "image/svg+xml-compressed" to that? Or is the thumbnailer unable to operate on gzipped svg files?
Do you have an example svgz file I could try?
Created attachment 349358 [details] [review] Add .thumbnailer file for gdk-pixbuf-loader This is required for svg thumbnails to work with gnome-desktop 3.24 Ok, I found a sample .svgz and confirmed that the thumbnailer works: http://www.cs.queensu.ca/students/undergraduate/prerequisites/COMP17.svgz or any of the files on the /prerequisites/ page
Created attachment 349359 [details] [review] Add .thumbnailer file for gdk-pixbuf-loader (2.40 branch) for the librsvg-2-40 branch
Thanks for the patches! I'll release 2.40.17 right away.
Forgot to close this bug.