KWin seems to crash when using KRunner


I’ve been observing this for a while now and I am not sure what happens. Sometimes, when I use KRunner to launch or switch to an app, KWin crashes and restarts.

I am running the latest version of Endeavour OS with Plasma on a Dell XPS 15, X11 session. Could this be related to some graphics issues? I use Optimus Manager in hybrid mode.

journalctl log: