Bug 511414

Summary: Kickerdash/Application Dashboard asserts while loading
Product: [Plasma] plasmashell Reporter: dellekappa
Component: Application Dashboard widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate, nicolas.fella
Priority: NOR Keywords: regression
Version First Reported In: 6.5.0   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description dellekappa 2025-10-31 09:31:28 UTC
SUMMARY
An error occur when plasmashell tries to load org.kde.plasma.kickerdash plasmoids.
Looking at logs I found this:

plasmashell[16922]: kf.package: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.kickerdash/" should be QList("ui/main.qml")
plasmashell[16922]: ASSERT: "path == QStringLiteral("/") || QDir(path).canonicalPath() + QLatin1Char('/') == path" in file ./src/kpackage/package.cpp, line 274

The issue seems to be caused by the convertion of kicker to plasma_add_applet and the consequent usage of  "X-Plasma-RootPath": "org.kde.plasma.kicker" in org.kde.plasma.kickerdash metadata.
The issue https://bugs.kde.org/show_bug.cgi?id=507893 should have fixed this, but, I guess, something is now trying to validate the content path that is not in the expected format

STEPS TO REPRODUCE
1. Click on 'show alternatives' on application menu widget

OBSERVED RESULT
Plasmashell crash

EXPECTED RESULT
Can choose between application launchers

SOFTWARE/OS VERSIONS

Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.14.0-34-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9880H CPU @ 2.30GHz
Memory: 32 GiB of RAM (31.0 GiB usable)
Graphics Processor 1: Intel® UHD Graphics 630
Graphics Processor 2: Quadro T2000