So I was playing around with some settings regarding virtual desktops.
I wanted to have to have the on-screen switch setting on, however, using this causes kwin to randomly and inconsistenly crash after switching desktops frequently and fast.
I can of course remedy this by restarting kwin in the terminal, but this is only temporary as it will crash again.
Trying out different compositors has no effect.


specs;
(NEOFETCH)


ccpeters@ccpeters-Lenovo-ideapad-510-15ISK
------------------------------------------
OS: Ubuntu 18.04 LTS x86_64
Host: 80SR Lenovo ideapad 510-15ISK
Kernel: 4.15.0-20-generic
Uptime: 17 mins
Packages: 2465
Shell: bash 4.4.19
Resolution: 1920x1080
DE: KDE
WM: KWin
Theme: Breeze [KDE], Breeze [GTK3]
Icons: Breeze [KDE], Breeze [GTK3]
Terminal: konsole
CPU: Intel i7-6500U (4) @ 3.100GHz
GPU: NVIDIA GeForce 940MX
GPU: Intel Integrated Graphics
Memory: 857MiB / 7882MiB





I'm using kde plasma 5.12 on kubuntu 18.04 LTS, with the nvidia-390 drivers.
Anybody have any idea why this is happening?
Here are some pictures on the problem;

https://imgur.com/a/xt0X8Gw