← Back to issue list

image loaders (gdkpixbuf) not easy to integrate

View original Launchpad issue

Metadata

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

Current evaluation

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.

Suggested action: close stale

Reason: The requested automation is implemented in current code: extensions/desktop/common/desktop-exports exports GDK_PIXBUF_MODULE_FILE/GDK_PIXBUF_MODULEDIR and regenerates the loaders cache via gdk-pixbuf-query-loaders, and snapcraft/extensions/gnome.py sets GDK_PIXBUF_MODULE_FILE to the SDK loaders.cache. With the feature delivered via desktop extensions, the 10-year-old request is no longer applicable, so it can be closed as implemented rather than kept open.

Impact: 20 Quick Win: 12.0 Staleness: 95 Complexity: 40 Confidence: 85 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 20
Quick Win: 12.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 15
close stale GTK apps require manual setup of gdkpixbuf loaders, caches, and mime definitions in snaps. The request asks snapcraft to automate this. The issue is open, unassigned, and inactive for years, awaiting triage.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#2948 (confidence 70%)

    Merged PR that regenerates the GDK pixbuf loaders cache when missing, part of the same loader-integration feature area this issue requested.

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 Merged a fix that regenerates the missing GDK pixbuf loaders cache to prevent chromium snap crashes during GTK file dialog operations. Backported from snapcraft-desktop-helpers, approved by one reviewer, and passed CI checks.
73%