Bug 451638 - Invalid .desktop file results in empty Applications menu (and krunner)
Summary: Invalid .desktop file results in empty Applications menu (and krunner)
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kded-appmenu
Classification: Frameworks and Libraries
Component: menu exporter (other bugs)
Version First Reported In: 5.18.8
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-17 23:20 UTC by Ben
Modified: 2024-06-18 16:39 UTC (History)
1 user (show)

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


Attachments
qemu.desktop (134 bytes, application/x-trash)
2022-03-17 23:20 UTC, Ben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben 2022-03-17 23:20:51 UTC
Created attachment 147571 [details]
qemu.desktop

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

I'm unsure of the component(s) involved with this

STEPS TO REPRODUCE
1. Copy qemu.desktop file to /usr/share/applications/qemu.desktop (this file was obtained through a system update and wasn't a custom .desktop file)
2. Log out
3. Log in

OBSERVED RESULT
1. The application menu is completely empty
2. Unable to launch applications from krunner

EXPECTED RESULT
A single bad .desktop file shouldn't result in a completely empty menu

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.8
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel: 5.16.11-76051611-generic

ADDITIONAL INFORMATION
This is a kubuntu 20.04 install 

Linux <redacted> 5.16.11-76051611-generic #202202230823~1646248261~20.04~2b22243~dev-Ubuntu SMP PREEMPT Th x86_64 x86_64 x86_64 GNU/Linux

Qemu Packages:
ipxe-qemu-256k-compat-efi-roms/focal,focal,now 1.0.0+git-20150424.a25a16d-0ubuntu4 all [installed,automatic]
ipxe-qemu/focal-updates,focal-updates,now 1.0.0+git-20190109.133f4c4-0ubuntu3.2 all [installed,automatic]
libvirt-daemon-driver-qemu/focal-updates,now 6.0.0-0ubuntu8.15 amd64 [installed,automatic]
qemu-block-extra/focal-updates,focal-security,now 1:4.2-3ubuntu6.21 amd64 [installed,automatic]
qemu-kvm/focal-updates,focal-security,now 1:4.2-3ubuntu6.21 amd64 [installed]
qemu-system-common/focal-updates,focal-security,now 1:4.2-3ubuntu6.21 amd64 [installed,automatic]
qemu-system-data/focal-updates,focal-updates,focal-security,focal-security,now 1:4.2-3ubuntu6.21 all [installed,automatic]
qemu-system-gui/focal-updates,focal-security,now 1:4.2-3ubuntu6.21 amd64 [installed,automatic]
qemu-system-x86/focal-updates,focal-security,now 1:4.2-3ubuntu6.21 amd64 [installed,automatic]
qemu-utils/focal-updates,focal-security,now 1:4.2-3ubuntu6.21 amd64 [installed,automatic]
Comment 1 Nate Graham 2024-06-18 16:39:31 UTC
It's a bug in the app; please report this to the app developers.