snapcraft mishandles .PNG extension
Metadata
Current evaluation
Snapcraft accepts uppercase .PNG icon extension and fails to remove stale icon files when the icon type changes, leaving both old and new icons in /meta/gui/. No maintainer interaction since filing ~7 years ago.
Suggested action: needs triage
Reason: The issue has no labels, zero comments, and no maintainer response in ~7 years, showing it was never triaged. The bug report is well-structured with a clear reproduction (uppercase .PNG accepted, stale icon not cleaned up on re-run), but the snapcraft codebase has likely been significantly refactored since filing, so a maintainer needs to verify whether the behavior still exists before deciding to fix or close.
Impact:
35
Quick Win:
21.0
Staleness:
95
Complexity:
40
Confidence:
45
Support Request:
10
Issue body
According to https://snapcraft.io/docs/snap-format, the correct extensions for an icon are `.png` and `.svg`.
However, if you use the .PNG extension (all caps), snapcraft still treats it as if it's a valid extension and copies it to /meta/gui/icon.PNG.
If you then change the icon, to an svg file for example, and re-run snapcraft, it will not remove the `icon.PNG` file, instead /meta/gui/icon.svg and /meta/gui/icon.PNG will now both exist.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
21.0
Staleness:
95
Complexity:
40
Confidence:
45
Support Request:
10
|
needs triage | Snapcraft accepts uppercase .PNG icon extension and fails to remove stale icon files when the icon type changes, leaving both old and new icons in /meta/gui/. No maintainer interaction since filing ~7 years ago. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
15
Confidence:
85
Support Request:
10
|
close stale | Snapcraft incorrectly handles uppercase .PNG extensions, copying them to /meta/gui/ and failing to remove them when switching to .svg. The issue has seen no maintainer activity or comments in over six years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
30
Confidence:
85
Support Request:
10
|
close stale | Reports snapcraft mishandling uppercase .PNG extensions and failing to remove orphaned icon files during updates. Zero maintainer engagement over six years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
40
Confidence:
85
Support Request:
10
|
close stale | Reports snapcraft incorrectly handling uppercase .PNG icon extensions and failing to remove them when switching to .svg. Unanswered for nearly 7 years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
25
Confidence:
85
Support Request:
10
|
close stale | snapcraft incorrectly accepts uppercase .PNG icon extensions and fails to clean up old icon files during rebuilds, leaving duplicates in /meta/gui. Open, unassigned, no comments, inactive for over a year. Needs triage. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.