Setting the icon key leads to all icons replaced in the .desktop file
Metadata
Current evaluation
Snapcraft replaces every Icon= entry in a .desktop file (including Desktop Action icons) with the snap icon when a top-level icon key is set, breaking themed/action icons. Triaged as an enhancement; reporter noted in July 2025 it regressed further, now replacing icons even without an icon key.
Suggested action: keep open
Reason: The issue is labelled Status: Triaged and Type: Enhancement, and a maintainer (mr-cal) acknowledged it on 2025-03-19, proposing an app-attributes opt-in/opt-out mechanism and linking a minimal reproducer. The reporter then reported a further regression on 2025-07-29 (icons replaced even without an icon key) and a sharpness regression on 2025-08-07, so it is still actively relevant and unresolved. Recent commits (e.g. #6385 'mediate desktop, icon, and manifest files') show ongoing work in this area but no fix for the all-icons-replaced behavior.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
50
Quick Win:
22.5
Staleness:
45
Complexity:
55
Confidence:
70
Support Request:
10
|
keep open | Snapcraft replaces every Icon= entry in a .desktop file (including Desktop Action icons) with the snap icon when a top-level icon key is set, breaking themed/action icons. Triaged as an enhancement; reporter noted in July 2025 it regressed further, now replacing icons even without an icon key. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
70
Complexity:
65
Confidence:
85
Support Request:
10
|
keep open | Snapcraft replaces all .desktop file icons with the snap icon, preventing themed icons and breaking action icons. Triaged with a proposed app-attributes solution and internal ticket. Recent comments note further regressions. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
15
Complexity:
60
Confidence:
90
Support Request:
10
|
keep open | Snapcraft incorrectly replaces all .desktop file icons with a snap path when a top-level icon is set, and now regresses to doing so unconditionally. A maintainer proposed an app-attributes opt-out and created an internal ticket. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
65
Complexity:
50
Confidence:
90
Support Request:
5
|
keep open | Snapcraft replaces all .desktop file icons with the snap default, breaking themed and action icons. Triaged enhancement under discussion with a proposed app-attributes opt-in. Recent regressions confirmed. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#6385
(confidence 55%)
Commit f702705c6 'feat: mediate desktop, icon, and manifest files (#6385)' touches the same desktop/icon asset handling code path (snapcraft/parts/setup_assets.py) implicated in this issue, indicating active work in the area but not a confirmed fix.
Related issues
No related issues found above the similarity threshold.