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.
Created attachment 127938 [details] kcolorchooser two icons
Created attachment 127939 [details] palapeli two icons
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.
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!
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!