When I connected to external monitor or projector with HDMI cable, sleep the computer, unplug HDMI cable, and wake it up. Even if the cable is not connected, KDE still output to external screen, and I can see the HDMI monitor device in KCM. 1. Connect to external monitor or projector with HDMI cable. 2. Sleep system / close the laptop lid. 3. Unplug HDMI cable. 4. Wake up system. 5. Check desktop output area and KCM, see if the HDMI device is still here. Since the HDMI device is not connected, windows on it becomes invisible. Users might lose some working data.
I tested with both VGA and HDMI cables. VGA cables seem on having this issue.
Any news about this bug? Can any developers confirm this?
No news, sorry. I haven't been able to reproduce this issue.
I can understand. Hardware related issues are harder to reproduce. I will try with other computers/cables/monitors. If I have new findings, I will update this report.
*** Bug 390283 has been marked as a duplicate of this bug. ***
*** Bug 412317 has been marked as a duplicate of this bug. ***
*** Bug 409330 has been marked as a duplicate of this bug. ***
*** Bug 403962 has been marked as a duplicate of this bug. ***
I found a related kernel bug report: https://bugzilla.kernel.org/show_bug.cgi?id=202579
Closing it because it is not specific to KDE but all GNU/Linux systems. The bug should be fixed in either Kernel or X11. Unluckily, here isn't any ongoing effort to fix it. So it will probably last for several more years.
*** Bug 413174 has been marked as a duplicate of this bug. ***
I have kernel 5.3.10 and just upgraded to Plasma 5.17.3. Unplugging secondary monitor don't trigger any reaction. So the issue is still there for me :(
I guess that makes sense since the Kernel bug (https://bugzilla.kernel.org/show_bug.cgi?id=202579) is still open.
Thanks for the updates everyone. Glad we confirmes this is not a bug in KDE but in the kernel. It's not a major problem but is more annoying. I hope the upstream peoples can fix this as multi monitor is a basic requirement that even Windows XP was able to do right. I never know where the faults lie so thanks for steering us in the right direction. Thanks Mate for the upstream bug link.
The Latest kernel updates fixed it. Now when I plug and unplug the secondary monitor Plasma recognizes it correctly :). All is well in multimonitor world minus plenty small other bugs, but that's a story for other threads ;D.
Phew! Thanks for closing the loop on this.