After a routine pacman -Syu upgrade to KDE Plasma 6.6.4, plasmashell crashes immediately on login in a recursive segfault loop. My computer is under full blackscreen now, but using shortcut to start apps from terminal is fine. Running plasmashell --replace shows below:
kf.package: Could not find required file "mainscript" for package
"/usr/share/plasma/plasmoids/org.kde.plasma.icontasks/"
should be QList("ui/main.qml")
KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
Segmentation fault (core dumped)
I tried to create a fresh new user without any configuration, still same problem. So I am pretty sure it’s library issue instead of my kde configuration.
Thanks! I tried these three methods, reset plasmashell config and clear Klipper history are not working. But switch to X11 works, I think I will use X11 temporarily.
Interesting, Wayland seems to be having a lot of issues and lacks features compared to X11 to the point of me considering to switch to it permanently. In the meantime could you share the result of this command, please?
Since you mentioned kf6-guiaddons. I found out that there is a kf6 packages group in Arch Packages. And I found out some packages in that kf6 in my machine is missing. So I installed them. Then KDE Wayland still can not login but with another QT plugin loading error. So I reinstalled plasma and kde-applications packages group. Then everything works.
So the final workaround for me is: yay -S kf6 and yay -S plasma kde-applications