Bug 412641 - When multiple copies of an app are installed from different sources (e.g. deb,flatpak,snap), only one is shown in menu
Summary: When multiple copies of an app are installed from different sources (e.g. deb...
Status: RESOLVED DUPLICATE of bug 389035
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) (show other bugs)
Version: 5.16.5
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-05 18:16 UTC by nttkde
Modified: 2020-08-27 15:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nttkde 2019-10-05 18:16:12 UTC
OBSERVED RESULT

When I install multiple versions (deb, flatpak or snap) of one same app, only one of them appears in the KDE Application launcher menu.

For example, if I install Blender 2.79 from Ubuntu repos and then Blender 2.80 from snap, Application launcher menu will have only link to the deb version in Applications->Graphics.
The native Blender's .desktop file is called blender.desktop in /usr/share/applications and snap has blender_blender.desktop in /var/lib/snapd/desktop/applications.

Similarly Discord flatpak doesn't appear in Launcher if I have snap version installed. The flatpak has com.discordapp.Discord.desktop file in /var/lib/flatpak/exports/share/applications/ and snap has discord_discord.desktop in /var/lib/snapd/desktop/applications/.

If I install first Krita snap and then Krita flatpak, the Krita flatpak will
replace the Krita snap Launcher menu entry.

Same with GIMP, SuperTuxKart and so on...


- I used Discover to install my apps.
- .desktop files seem to be in right places and in $XDG_DATA_DIRS.
- _Search from Application Launcher or Krunner still finds both app versions_.
- If I uninstall one app, the other's icon comes back.

- My $XDG_DATA_DIRS is /usr/share//usr/share/xsessions/plasma:/home/ntt/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop


EXPECTED RESULT
All versions of an app from different sources have their own entries in Application launcher menu.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.16
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.3
Comment 1 Patrick Silva 2020-01-29 15:38:38 UTC
dupe of bug 389035 ?

I think this problem extremely annoying.
I need to rename the entries of my flatpaks to "App (flatpak)"
or manually create entries for apps from distro repos using kmenueditor to get around it.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1
Comment 2 Alexander Lohnau 2020-08-27 15:01:13 UTC

*** This bug has been marked as a duplicate of bug 389035 ***