After upgrading to kf 5.42 local kwin scripts stopped working and disappear from systemsettings (system kwin scripts appear and work just fine). I don't know if this may be a packaging problem or a kf5 regression of some sort. I downgraded to kf5 5.41 using apt preferences and things came back to normal, that is, local Kwin scripts work again and reappeared in systemsettings
I don't think this bug refers (only) to frameworks-knewstuff. I used apt preferences to keep frameworks-knewstuff in version 5.41 while the rest is in version 5.42 and the bug reappeared.
Re-assigning to KPackage. const auto scripts = KPackage::PackageLoader::self()->findPackages(QStringLiteral("KWin/Script"), scriptFolder, filter); returns the same package list after installing/uninstalling. Possibly caused by the new runtime cache not knowing about knewstuff
I can confirm that downgrading only frameworks-kpackage to version 5.41 fixes the issue for me.
Probably the same reason as bug#389197? Try deleting the corresponding kplugincache.json file, or install some new kwin script (that should delete it as well).
(In reply to Wolfgang Bauer from comment #4) > Try deleting the corresponding kplugincache.json file Erm, I mean kpluginindex.json, sorry.
I tried reinstalling the kwin script and didn't help. I'll try deleting that file and will report the result.
I confirm removing kpluginindex.json solved the problem, thank you!
(In reply to avlas from comment #6) > I tried reinstalling the kwin script and didn't help. No, but installing a *different one* should have helped. (In reply to avlas from comment #7) > I confirm removing kpluginindex.json solved the problem, thank you! Good, let's mark it as duplicate then (even though this one is older). *** This bug has been marked as a duplicate of bug 389197 ***