My laptop when it's connected to an external screen, disables its screen to just let me use the external monitor. The external monitor has various inputs and I have connected various computers to it. As soon I selected another video input on the external screen, my laptop started to behave in a strange way, for example it acted like if the screen has been unplugged. Moreover the most important thing is that various applications crashed (Firefox Wayland) or started to use 100% CPU load (Konsole, KeepassXC). I attach GDB trace of Konsole and KeepassXC while using 100% CPU load plasma 5.23.2 KDE Frameworks 5.87.0 Qt 5.15.2
Created attachment 143425 [details] GDB KeepassXC
Created attachment 143426 [details] GDB Konsole
This bug was reported against an outdated version of KWin. We have made many changes since the. If the issue persists in newer versions can you reopen the bug report updating the version number.