Bug 376338 - The new plasma 5.9 Krunner and application launcher unable to find a number of applications.
Summary: The new plasma 5.9 Krunner and application launcher unable to find a number o...
Status: RESOLVED WORKSFORME
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.9.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-11 05:20 UTC by kzhou97
Modified: 2020-12-22 04:34 UTC (History)
2 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 kzhou97 2017-02-11 05:20:01 UTC
After upgrading to the new plasma 5.9, Krunner and application launcher unable to find a number of applications. For example, when I type `system` or `system setting` in the search dialog, system setting does not pop up. However, system setting is in the applications menu and launching from terminal also works.

Moreover, I can confirm the `.destop` files are also intact in the `/usr/share/applications` directory.

Initially I got very frustrated because I mainly search the app when I want to run it. Recently I investigated a bit more into the issue and took a closer look at the folder these `.desktop` files belong. It turns out that all applications that are unsearchable in the launcher or krunner have more than one `.desktop` files in the `\usr\share\applications` directory. For example, the system setting application can be launched from both `kdesystemsettings.desktop' file and 'systemsettings.desktop' file, i.e., both point to the same thing application if you take a look at the `Exec=balabalabla` part. Now, if I delete one of them, the issue goes away. Okular also exhibit similar issues, there are quite a few of `.desktop` files with different file names pointing to the same app. Since I only encountered this in plasma 5.9 and have never really looked at the directory as carefully, I am not sure whether the bug belongs to Krunner or the fact that there are multiple `.desktop` files pointing to the same application in the `/usr/share/applications` directory is itself a bug. Just want to point it out there since it was really a quite frustrating bug :) Feel free to rebrand this bug as I am not entirely sure which part of KDE it belongs.
Comment 1 kzhou97 2017-02-11 22:45:35 UTC
More issues occurred related to search. I installed Amarok today, but this app is again unsearchable but executable from terminal. I noted that the `.desktop` file is installed in `/usr/share/applications/kde4` instead of `/usr/share/applications/`. By moving the `.desktop` file to the parent directory of `kde4` solves the problem. Not sure why that happened, maybe it has to do with my distribution Arch Linux. But maybe it is an issue.
Comment 2 Justin Zobel 2020-11-22 04:14:01 UTC
Sounds like this was a downstream issue in Arch. I've tested with krunner and I cannot replicate the issues currently.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 3 Bug Janitor Service 2020-12-07 04:34:10 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 4 Bug Janitor Service 2020-12-22 04:34:59 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!