← Back to issue list

icon is not handle properly when base is core22

View original Github issue

Metadata

Project
snapcraft
Number
#4402
Type
issue
State
open
Author
tsunghanliu
Labels
Created
Updated
Closed

Current evaluation

Icon not placed in prime/meta/gui when base is core22 (snapcraft 7.5.3); works on core20. No maintainer response, no labels, 0 comments, last activity 536 days ago.

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and zero comments from any maintainer, so it has never been triaged. It is a genuine bug report with a clear reproduction (icon.png missing from prime/meta/gui on core22 but present on core20), not a support request. The code path (setup_assets.py / _finalize_icon) still exists and has since been refactored for mediated icon handling, so the bug may or may not persist in current versions — a maintainer needs to reproduce and confirm before closing or fixing.

Impact: 50 Quick Win: 30.0 Staleness: 75 Complexity: 40 Confidence: 55 Support Request: 5

Issue body

### Bug Description The icon is not properly placed in `prime/meta/gui` when base is `core22`. ### To Reproduce 1. use the attached snapcraft.yaml and change base to `core20` or `core22` 2. build the snap (destructive-mode should work) 3. check if `icon.png` is in `prime/meta/gui` ### Environment Ubuntu 22.04 snapcraft 7.5.3 ### snapcraft.yaml ```shell name: test-icon base: core20 version: '0.1' summary: test-icon description: | test icon handle of snapcraft grade: devel confinement: devmode icon: icon.png parts: icon: plugin: nil override-build: | cat << EOF | base64 -d >> $SNAPCRAFT_PROJECT_DIR/icon.png iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAD HUlEQVR4nO3UMQEAIAzAMMC/5yFjRxMFvXpnZg6Q9LYDgD0GAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEG AGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEGAGEf HrAF/LZ/lzEAAAAASUVORK5CYII= EOF ``` ### Relevant log output ```shell ## base: core 22 $ snapcraft --destructive-mode Executed: pull icon Executed: build icon Executed: stage icon Executed: prime icon Executed parts lifecycle Generated snap metadata Created snap package test-icon_0.1_amd64.snap $ tree prime/ prime/ └── meta ├── gui └── snap.yaml 2 directories, 1 file ## base: core20 $ snapcraft --destructive-mode Pulling icon + snapcraftctl pull Building icon + cat + base64 -d Staging icon + snapcraftctl stage Priming icon + snapcraftctl prime Snapping | Snapped test-icon_0.1_amd64.snap $ tree prime prime └── meta ├── gui │   └── icon.png └── snap.yaml 2 directories, 2 files ``` ### Additional context _No response_

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 50
Quick Win: 30.0
Staleness: 75
Complexity: 40
Confidence: 55
Support Request: 5
needs triage Icon not placed in prime/meta/gui when base is core22 (snapcraft 7.5.3); works on core20. No maintainer response, no labels, 0 comments, last activity 536 days ago.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
close stale Bug report regarding icon placement failure in prime/meta/gui when using base core22 instead of core20. Unaddressed for nearly three years with no maintainer interaction or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 50
Confidence: 75
Support Request: 5
close stale Snapcraft fails to place icon.png in prime/meta/gui when base is core22, while core20 works. Unlabelled, no maintainer comments, inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 30
Confidence: 60
Support Request: 5
needs triage Snapcraft fails to place icon.png in prime/meta/gui when using base core22. The report remains open with zero comments and over a year of inactivity. Requires triage and investigation to resolve the base-specific icon handling bug.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.