Bug 416105

Summary: Uncategorized apps usually don't show up in the menu editor
Product: [Applications] kmenuedit Reporter: leftcrane <leftcrane>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: justin.zobel
Priority: NOR    
Version First Reported In: 5.17.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description leftcrane 2020-01-11 00:33:57 UTC
All apps from the relevant appear in the main menu/krunner (usually) but if the .desktop file lacks the Category descriptor, it won't show up in the menu editor. Supposedly, you can find these uncategorized apps in "Lost and Found" but in my experience, they usually aren't there.


STEPS TO REPRODUCE
1. Create a desktop file:

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=OpenAudible
Exec=/bin/sh "/opt/OpenAudible/OpenAudible" %U
StartupWMClass=install4j-org-openaudible-desktop-Application
Icon=/opt/OpenAudible/.install4j/OpenAudible.png


2. Put it into ~/.local/share/applications
3. Run kbuildsycoca5
4. Check Kmenuedit for this program.

OBSERVED RESULT

Desktop link isn't shown anywhere in Kmenuedit. (I actually observed this problem first after installing this program, which put the .desktop file a system folder. It also didn't show up in the menu editor.)


EXPECTED RESULT

Desktop links should always be shown in Kmenuedit.



ADDITIONAL INFORMATION
Comment 1 Justin Zobel 2020-11-22 09:56:14 UTC
Thanks for the report. I've just tested this on 5.20.3 and I can't replicate the issue. I used your desktop entry but switched it to Exec=echo so it would show up in my menu.

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.

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=OpenAudible
Exec=echo
StartupWMClass=install4j-org-openaudible-desktop-Application
Icon=/opt/OpenAudible/.install4j/OpenAudible.png
Comment 2 Bug Janitor Service 2020-12-07 04:34:13 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 3 Bug Janitor Service 2020-12-22 04:35:01 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!