https://bugs.kde.org/show_bug.cgi?id=521247
Tobias Fella <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/libplasma/-/commit/9f1a5 |ma/libplasma/-/commit/20923 |0e18ef6c0c0f5113e1583d9b109 |76b96815f41ee76181f3a17d57c |7485dcbf |8048e32e --- Comment #5 from Tobias Fella <[email protected]> --- Git commit 2092376b96815f41ee76181f3a17d57c8048e32e by Tobias Fella, on behalf of Christoph Wolk. Committed on 09/06/2026 at 12:46. Pushed by tfella into branch 'Plasma/6.7'. plasma/packagestructure: don't require mainscript Plasma KPackages require a main.qml mainscript file. Kpackages with a rootpath to a KPlugin plasmoid don't have such a file, so their metadata is invalid. If there's no other candidate, all this does is create a misleading runtime error, but everything works normally. If there's another candidate, it will prefer that over the KPackage's metadata file even if it fails worse. This can leave widgets completely broken. Instead, don't require a mainscript for KPackages. It's not actually required because in some circumstances it works perfectly fine without. And in the cases where it is required (KPackage with no rootPath to a KPlugin plasmoid), nothing terribly bad seems to happen if it's not there - the widget obviously won't work, but we get an error message and everything else is fine. (cherry picked from commit 9f1a50e18ef6c0c0f5113e1583d9b1097485dcbf) M +0 -1 src/plasma/packagestructure/packages.cpp https://invent.kde.org/plasma/libplasma/-/commit/2092376b96815f41ee76181f3a17d57c8048e32e -- You are receiving this mail because: You are watching all bug changes.
