Created attachment 112071 [details] kscreen log Note: I'm not sure if this is a kscreen bug or kwin bug, but I'm leaning towards the former. I have two monitors connected to my system, one 1080p per HDMI, one 4k per DisplayPort. When putting my system to sleep (RAM), the DisplayPort connection seems to be shutdown in a weird way. Upon resuming from sleep, kscreen detects the DisplayPort monitor multiple times, which confuses kwin and a bunch of other applications (like latte-dock). Usually this manifests in the following ways: - Only the HDMI monitor shows the lock-screen, the 4k/DP monitor only shows a black background (no lock-screen controls), but does show a mouse cursor when moving it to the screen. - kwin loses window positioning and moves my windows from the HDMI monitor to the DP monitor. - latte-dock sets an incorrect screen mask, making the right half of the dock disappear (see https://github.com/psifidotos/Latte-Dock/issues/941 for the upstream issue) This is not happening every time I resume, but more often than not. It makes me assume this is a timing issues. Maybe the screen first gets initialized with 1080p, then quickly switches over to 4k? Debug output from kscreen attached!
I also have this issue when my monitor goes to Deep Sleep, upon wakeup the login screen appears on only one screen and my windows are a jumbled mess. This is with KDE 5.23.2
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Plasma 5.25 or 5.26? If it is, please add a comment with the output of `kscreen-doctor -o` and change the status to CONFIRMED. If not, or if you can't because you no longer use this setup, you can change the status to RESOLVED WORKSFORME. Thanks a lot!
In the meantime I have switched to entirely different hardware and only have one monitor. As such, I can't reproduce the issue any longer. I'll close this ticket as suggested. If someone else still runs into it, they can upon a fresh ticket with new logs.