← Back to issue list

desktop file Icon: relative search for case where prefix is not /usr

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1903854
Type
issue
State
open
Author
~cjp256
Labels
Created
Updated
Closed

Current evaluation

Snapcraft desktop file Icon path resolution fails when Meson prefix is not /usr; suggests searching relative to the desktop file. Open since 2019, no comments, no labels, no maintainer response.

Suggested action: needs triage

Reason: The issue has zero comments, no labels, and no maintainer interaction in over 5 years (last activity 2013 days ago). While the underlying problem (hard-coded /usr prefix for desktop file Icon paths) may still be relevant, there is no evidence it has been addressed or that the reporter is still engaged. A maintainer should assess whether the current icon resolution logic (e.g., commits like 'feat: resolve icon names from the hicolor theme' or 'feat: mediate desktop, icon, and manifest files') already handles this case before deciding to close or implement.

Impact: 35 Quick Win: 21.0 Staleness: 95 Complexity: 40 Confidence: 55 Support Request: 10

Issue body

Example: https://github.com/ivocavalcante/giara-snap/commit/b58ab8ae635dc774e5d771b04f947c2371704d92 Meson defaults to /usr/local and Snapcraft will fail to find the icons. We could search relative to the desktop file (as well as /usr) to avoid hard-coding prefix.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 21.0
Staleness: 95
Complexity: 40
Confidence: 55
Support Request: 10
needs triage Snapcraft desktop file Icon path resolution fails when Meson prefix is not /usr; suggests searching relative to the desktop file. Open since 2019, no comments, no labels, no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 5
close stale Suggests modifying desktop file icon path resolution to search relative to the file location instead of hardcoding /usr, to support non-standard Meson prefixes in Snapcraft. Untriaged and inactive for over five years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 10
Confidence: 80
Support Request: 5
close stale Untriaged request to fix desktop file icon path resolution for non-/usr prefixes. Over five years old with no maintainer feedback, labels, or assignee.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 85
Support Request: 5
close stale Suggests modifying desktop file icon path resolution to search relative to the file location, avoiding hardcoded /usr prefix to support Meson and Snapcraft builds. Untriaged and inactive for over five years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 80
Support Request: 10
close stale Fix desktop file icon lookup to search relative to the file path alongside standard directories, preventing Snapcraft failures when Meson uses non-/usr prefixes. Open, unassigned, and awaiting triage with no comments.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#6329 (confidence 60%)

    Commit 'feat: resolve icon names from the hicolor theme' may have changed icon path resolution behavior, potentially addressing or superseding this issue.

  • Related To: snapcraft#6385 (confidence 50%)

    Commit 'feat: mediate desktop, icon, and manifest files' refactored desktop/icon handling and could affect how Icon paths are resolved.

Related issues

Issue Project State Summary Similarity
#1903852 desktop file Icon: find scalable icons when NxN dirs present snapcraft (launchpad) closed Request to prioritize scalable icons in desktop file handling was closed without action or discussion. Snapcraft remains unchanged, and the suggestion was abandoned.
71%