← Back to issue list

image loaders (gdkpixbuf) not easy to integrate

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1576289
Type
issue
State
closed
Author
~seb128
Labels
snap-desktop-issue
Created
Updated
Closed

Current evaluation

GdkPixbuf image-loader support landed with the GNOME desktop extension in PR #2655 (b0c4319e5); PR #2948 later improved loader-cache generation.

Resolution: closed resolved

Reason: Closed as completed after gdk-pixbuf was integrated into the desktop extensions. Commit b0c4319e5 introduced the GNOME extension, while cb101dfaf added cache regeneration for desktop launches.

Evaluated by: mr-cal-bot

No scores available.

Issue body

gtk softwares need gdkpixbuf image loaders to be able to display images (jpg, png, svg, ...) if you want that to work you need to - include the loaders - generate a cache (or ship a static one in the source and copy it) - include mimetype definition (or a static mime.cache) so the loader knows what image type is needed - set those environment variable "# Gdk-pixbuf loaders export GDK_PIXBUF_MODULE_FILE=$SNAP/usr/lib/$ARCH/gdk-pixbuf-2.0/2.10.0/loaders.cache export GDK_PIXBUF_MODULEDIR=$SNAP/usr/lib/$ARCH/gdk-pixbuf-2.0/2.10.0" ideally snapcraft would do that for you

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved GdkPixbuf image-loader support landed with the GNOME desktop extension in PR #2655 (b0c4319e5); PR #2948 later improved loader-cache generation.
stealth/space-bunny-alpha — closed resolved Closed as completed: desktop extensions now integrate gdk-pixbuf, configure its loaders, and regenerate the cache, including the fix merged in snapcraft#2948.
qwen/qwen3.6-35b-a3b — — Closed as completed. Integration was resolved by bundling gdk-pixbuf loaders directly into the desktop extensions, eliminating manual cache generation and environment variable configuration.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 12
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
close stale Feature request to automate gdk-pixbuf loader integration in snaps. Now implemented via desktop extensions: desktop-exports sets GDK_PIXBUF_MODULE_FILE/MODULEDIR and regenerates the cache. 0 comments, no maintainer activity in ~9 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 92
Support Request: 20
close stale Feature request to automate gdk-pixbuf loader integration in Snap packages. Issue is over 10 years old with no maintainer activity or comments.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 65
Confidence: 90
Support Request: 10
close stale Feature request to automate gdk-pixbuf loader integration in Snap packages. Inactive for over nine years with no maintainer response or comments.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 90
Support Request: 15
close stale Request to automate gdk-pixbuf image loader integration in Snapcraft, including cache generation and environment variable setup. Unaddressed for over 9 years.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#2655 (confidence 95%)

    Introduced the GNOME desktop extension with GdkPixbuf loader and cache support.

  • Related To: snapcraft#2948 (confidence 90%)

    Improved desktop-extension support by regenerating the GdkPixbuf loaders cache when absent.

Related issues

Issue Project State Summary Similarity
#2948 Regenerate the GDK pixbuf loaders cache file if for whatever reason it isn't there (LP: #1863801). snapcraft merged PR #2948 merged as commit cb101dfaf: desktop extension's common/desktop-exports now regenerates the GDK pixbuf loaders cache when the file is missing (fixes LP: #1863801, chromium snap GTK file chooser crashes). Backport of snapcraft-desktop-helpers 769110c.
70%