Bug 420694 - Two icons for snaps published by "kde"
Summary: Two icons for snaps published by "kde"
Status: RESOLVED WORKSFORME
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-28 06:11 UTC by chimak111
Modified: 2023-05-06 03:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kcalc two icons (97.35 KB, image/png)
2020-04-28 06:11 UTC, chimak111
Details
kcolorchooser two icons (111.98 KB, image/png)
2020-04-28 06:12 UTC, chimak111
Details
palapeli two icons (111.72 KB, image/png)
2020-04-28 06:12 UTC, chimak111
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chimak111 2020-04-28 06:11:42 UTC
Created attachment 127937 [details]
kcalc two icons

SUMMARY
At least some snaps published by "kde" show two icons to users causing confusion.

STEPS TO REPRODUCE
1. Install (the stable versions) okular or kcalc, or kolourpaint, or kcolorchooser, or palapeli using `sudo snap install …`
2. Enter the first few letters (or entire name) of the snap in an application menu's search box. 

OBSERVED RESULT
You'll see two icons. In other words, users are presented with two hits.


EXPECTED RESULT
There should be just the one result.

SOFTWARE/OS VERSIONS
Tested on Ubuntu 20.04 and Xubuntu 20.04.

ADDITIONAL INFORMATION
Reported in
When I install KolourPaint why does it have two icons? How can I fix it? ::: https://askubuntu.com/q/1231769/248158
and
Why is there two instances of “Okular” and how do I get rid of the other one? ::: https://askubuntu.com/q/1230835/248158

There seem to be redundant .desktop files in `/var/lib/snapd/desktop/applications`.

A workaround is to copy the .desktop files over to `~/.local/share/applications` and add "NoDisplay=true" to one of the .desktop files.

Also reported at https://bugs.launchpad.net/snap-store/+bug/1875135 because I didn't know this was the right place.
Comment 1 chimak111 2020-04-28 06:12:21 UTC
Created attachment 127938 [details]
kcolorchooser two icons
Comment 2 chimak111 2020-04-28 06:12:52 UTC
Created attachment 127939 [details]
palapeli two icons
Comment 3 Scarlett Moore 2023-04-06 18:01:19 UTC
Well, and the fact is that sometimes there are actually two versions installed. Aka I have an okular snap installed and I have okular installed via apt-get. In the properties the paths are different. /snap/bin/okular and okular. I don't think I can do anything about this. Can you check to see if indeed this is what is going on? Right click both icons, go to edit application and check the path on the application tab.
Comment 4 Bug Janitor Service 2023-04-21 03:45:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2023-05-06 03:46:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!