Public bug reported:
Package: plasma-desktop-data
Package-Version: 4:6.6.6-0ubuntu0.1
Description of the problem:
On a default or clean user session, Plasma 6 fails to load the default bottom
panel layout. plasmashell aborts panel layout construction with fatal
kf.package errors when reading core plasmoid directories.
Root Cause:
Several core plasmoids were converted to compiled C++ binary plugins (such as
org.kde.plasma.taskmanager.so provided by plasma-desktop). However, the package
plasma-desktop-data installs skeleton directories under
/usr/share/plasma/plasmoids/ containing only metadata.json (with
X-Plasma-RootPath pointers) but completely lacking a `contents/ui/main.qml` or
declared mainscript.
When plasmashell initializes default layouts (which reference
org.kde.plasma.icontasks) or when opening the "Add Widgets" drawer, kf.package
scans these directories, strictly requires ui/main.qml, and fails:
"kf.package: Could not find required file "mainscript" for package
"/usr/share/plasma/plasmoids/org.kde.plasma.icontasks/" should be
QList("ui/main.qml")"
Affected directories in /usr/share/plasma/plasmoids/:
- org.kde.plasma.icontasks
- org.kde.plasma.activitypager
- org.kde.plasma.kickerdash
- org.kde.plasma.minimizeall
Steps to Reproduce:
1. Clear user plasma config: rm -f
~/.config/plasma-org.kde.plasma.desktop-appletsrc ~/.config/plasmashellrc
2. Start plasmashell in a Wayland session: plasmashell --replace
3. Observe terminal output: plasmashell throws missing mainscript error on
icontasks and aborts generating the default panel.
4. Open the Add Widgets drawer: log flooded with kf.package errors for
activitypager, kickerdash, and minimizeall.
Workaround / Verification:
Creating dummy files at:
/usr/share/plasma/plasmoids/org.kde.plasma.<applet>/contents/ui/main.qml
satisfies kf.package's filesystem existence validation, allows plasmashell to
build the panel layout, and successfully delegates execution to the compiled
C++ plugins without error.
Expected Behavior:
Either the directory skeletons should not be installed if the applets are fully
compiled C++ plugins, or the package must include the minimal stub
structure/mainscript required to pass kf.package verification.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: plasma-desktop-data 4:6.6.6-0ubuntu0.1
ProcVersionSignature: Ubuntu 7.0.0-34.34-generic 7.0.14
Uname: Linux 7.0.0-34-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Sat Sep 26 02:50:51 2026
Dependencies:
InstallationDate: Installed on 2026-09-20 (6 days ago)
InstallationMedia: Kubuntu 26.04.1 LTS "Resolute Raccoon" - Release amd64
(20260826.1)
PackageArchitecture: all
SourcePackage: plasma-desktop
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: plasma-desktop (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2168608
Title:
Plasma 6 applets in /usr/share/plasma/plasmoids/ lack
contents/ui/main.qml, causing kf.package fatal abort during panel
layout load
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plasma-desktop/+bug/2168608/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs