Bug 445298

Summary: [Wayland] unplugging a screen causes some applications to use 100% CPU load
Product: [Plasma] kwin Reporter: Germano Massullo (Thetra) <germano.massullo>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.23.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: GDB KeepassXC
GDB Konsole

Description Germano Massullo (Thetra) 2021-11-10 22:05:50 UTC
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
Comment 1 Germano Massullo (Thetra) 2021-11-10 22:06:19 UTC
Created attachment 143425 [details]
GDB KeepassXC
Comment 2 Germano Massullo (Thetra) 2021-11-10 22:06:37 UTC
Created attachment 143426 [details]
GDB Konsole
Comment 3 David Edmundson 2023-09-06 10:38:20 UTC
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.