https://bugs.kde.org/show_bug.cgi?id=493242
Bug ID: 493242 Summary: Window remains on disconnected monitor after waking up from sleep Classification: Plasma Product: kwin Version: 6.1.2 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: multi-screen Assignee: kwin-bugs-n...@kde.org Reporter: fe...@feldspaten.org Target Milestone: --- SUMMARY If disconnecting a device from an external monitor while the device sleeps, the window remains on that screen, even if the screen is not present anymore. My laptop is connected to a docking station, which has two external monitors connected. If I open an application, e.g. Firefox on the external monitor, and then put the laptop to sleep, then disconnect it from the dock, then those windows remain on the virtual screen, but one cannot access them anymore. Plasma restricts itself to the laptop screen only, but the windows remain on the now disconnected screen, and cannot be moved nor restored. I tried to minimize the Firefox window and maximize it again to show up on the laptop screen but no success. One can see the maximize restore to move to where the external monitor was connected, but the window remains out of reach. I can only reproduce it when putting the laptop to sleep. STEPS TO REPRODUCE 1. Connect an external monitor, move Firefox on that display 2. Put computer to sleep 3. Disconnect the external monitor (or docking station) 4. Wake computer up 5. Firefox remains on the external monitor screen, no way to access it anymore OBSERVED RESULT After waking up from sleep, a window previously on an external monitor is not accessible anymore EXPECTED RESULT After waking up from sleeping, all windows will be moved to the remaining screens, if they are out of the available displays. It would be also a good idea to do the same check when maximising a window, so that minimizing and maximizing could become a last-resort option. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed 20240915 KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION In my setup the external monitors are connected through a docking station. -- You are receiving this mail because: You are watching all bug changes.