Bug 405436 - Some installed apps from discover do not have desktop entry
Summary: Some installed apps from discover do not have desktop entry
Status: RESOLVED NOT A BUG
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.15.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
: 407006 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-13 16:08 UTC by pietro.zambon
Modified: 2020-11-19 10:45 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pietro.zambon 2019-03-13 16:08:26 UTC
SUMMARY
Some installed apps from discover do not have a desktop entry and can not be searched or opened from outside Discover app or cli (snap run <package name>).

STEPS TO REPRODUCE
1. install app from Discover (found with: spotify, whatsdesk, vscode).
2. try to open from outside Discover app.

OBSERVED RESULT
The app cannot be found from outside Discover app.

EXPECTED RESULT
The app should have a desktop entry once installed to find it from Application Menu or other places.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.13.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.0
Snap Version: 2.37.4
Comment 1 Aleix Pol 2019-03-14 18:51:40 UTC
It's not Discover's job to create the desktop file. Please report to said applications, or snapcraft.io at least.
Comment 2 Patrick Silva 2019-04-28 18:51:45 UTC
*** Bug 407006 has been marked as a duplicate of this bug. ***
Comment 3 Unknown 2019-05-05 16:41:12 UTC
This is not resolved in my opinion. All the Snap apps on my system DO contain at least 1 .desktop file:

➜ kemra102@iacon  ~  find /snap/spotify/35/ -name '*.desktop'
/snap/spotify/35/meta/gui/spotify.desktop
/snap/spotify/35/usr/share/spotify/spotify.desktop
➜ kemra102@iacon  ~  find /snap/electronplayer/6/ -name '*.desktop'
/snap/electronplayer/6/meta/gui/electronplayer.desktop
➜ kemra102@iacon  ~  find /snap/slack/13 -name '*.desktop'
/snap/slack/13/meta/gui/slack.desktop
/snap/slack/13/usr/share/applications/slack.desktop
➜ kemra102@iacon  ~  find /snap/telegram-desktop/715 -name '*.desktop' 
/snap/telegram-desktop/715/meta/gui/telegramdesktop.desktop
/snap/telegram-desktop/715/snap/gui/telegramdesktop.desktop

Is this still not correct some how?
Comment 4 Unknown 2019-06-18 18:12:36 UTC
Marking re-opened in the hope my previous comment gets noticed.
Comment 5 Christoph Feck 2019-07-03 15:18:34 UTC
Do you expect Discover to recursively scan all files in all snap directories to check if there is a desktop file?
Comment 6 Unknown 2019-07-03 21:41:41 UTC
I don't have any expectations as to how the actual implementation.

The original answer was given was that they had no entries in Kicker because they had no .desktop files (or at least heavily implied this). That simply isn't true. So I re-opened it to point this out.

If KDE has some unique way that a snap must be put together to read it's .desktop file(s) that hasn't been made clear at all. Or are you expecting the snap to place the .desktop file somewhere outside of the snap contents for KDE to pick it up? Again it isn't clear.

Both of these seem odd, because if I compare against a Gnome desktop whether I add a Snap via the Gnome Software Centre or via the snap CLI tool that app will show up in Gnome's software menu as expected.
Comment 7 Justin Zobel 2020-11-04 05:36:55 UTC
I've just installed whatsdesk from discover via snap and I can see it in my menu. Can you please confirm if this is still an issue, thanks.
Comment 8 Bug Janitor Service 2020-11-19 04:33:44 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!