← Back to issue list

unity7: LauncherEntry API does not work due to snapd not respecting the upstream .desktop naming

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1652441
Type
issue
State
open
Author
~mvo
Labels
—
Created
Updated
Closed
—

Current evaluation

Unity7 LauncherEntry progress-bar lookup failed because snapd exposed renamed desktop IDs; Snapcraft’s merged desktop-renaming fix addressed the mismatch, but the Launchpad issue remains open.

Suggested action: close resolved

Reason: Merged Snapcraft PR #1074, commit 1b97a09d3, renamed desktop files to match app names so Unity could associate them correctly, implementing the naming behavior proposed here. The report identified the generated teatime_teatime.desktop mismatch, provided a working snap reproducer, and was later confirmed as affecting multiple users.

Evaluated by: mr-cal-bot

Impact: 48 Quick Win: 30 Complexity: 30 Confidence: 91 Actionability: 90

Issue body

The progress bar is not displayed. Probably get_for_desktop_id() returns the wrong desktop file. I could trace it back until here: https://bazaar.launchpad.net/~unity-team/libunity/trunk/view/head:/src/unity-launcher.vala#L193 however I have no idea how the "application://" part is resolved. For the example code triggering this see here: https://git.launchpad.net/teatime/tree/teatime.py#n207 (snap install teatime) Note that if the deb version is also installed. i.e. the /usr/share/applications/teatime.desktop file is present. The snap picks that one.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 48
Quick Win: 30
Complexity: 30
Confidence: 91
Actionability: 90
close resolved Unity7 LauncherEntry progress-bar lookup failed because snapd exposed renamed desktop IDs; Snapcraft’s merged desktop-renaming fix addressed the mismatch, but the Launchpad issue remains open.
stealth/space-bunny-alpha
Impact: 32
Quick Win: 22
Complexity: 22
Confidence: 95
Actionability: 88
close resolved Unity7 LauncherEntry lookups mismatched snapd-generated desktop IDs; Snapcraft now normalizes meta/gui desktop filenames to the app name, and current code retains that fix.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 11
Complexity: 40
Confidence: 60
Actionability: 60
needs triage Unity7 extension's LauncherEntry API fails due to snapd not respecting upstream .desktop naming, preventing progress bar display
qwen/qwen3.8-27b
Impact: 10
Quick Win: 4
Staleness: 95
Complexity: 55
Confidence: 80
Support Request: 10
close stale Unity 7 LauncherEntry progress bar fails because snapd renames snap .desktop files, breaking application:// URI resolution. Open since 2016 with no labels or maintainer interaction; Unity 7 is EOL.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 92
Support Request: 15
close stale Bug report about Unity 7 LauncherEntry API failing to display progress bars due to snapd not respecting upstream .desktop naming conventions. Issue is over 9 years old with no maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 92
Support Request: 20
close stale LauncherEntry API progress bar fails due to snapd desktop file resolution mismatch. Issue is nearly 10 years old, has no maintainer interaction, and relates to deprecated Unity 7.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 60
Confidence: 85
Support Request: 10
close stale Unity 7 LauncherEntry API progress bar fails due to snapd ignoring upstream .desktop naming. Unlabelled, no maintainer comments, inactive for 247 days, and relates to the deprecated Unity 7 desktop environment.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#1074 (confidence 94%)

    Merged commit 1b97a09d3 renamed desktop files to match app names for correct Unity 8 association.

Related issues

No related issues found above the similarity threshold.