https://bugs.kde.org/show_bug.cgi?id=473220
Bug ID: 473220 Summary: Screen layout not correctly restored when displays wake up and one screen has been deactivated previously Classification: Plasma Product: plasmashell Version: 5.27.7 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: generic-multiscreen Assignee: plasma-b...@kde.org Reporter: malted....@gmail.com CC: aleix...@kde.org, notm...@gmail.com Target Milestone: 1.0 SUMMARY I'm have 4 displays attached to my GPU: 3x Displayport for the screens in my office and 1x HDMI with a long cable to the TV in the next room. (So I can watch movies, play games in the living room in the evening) When working on my PC I deactivate the HDMI screen as I can't see the TV and don't want to have windows, mouse etc "vanish" to a different room. But when leave the PC for a break and return with the session locked and the displays put into sleep, and unlock the session, the screen/desktop configurations are completely messed up. STEPS TO REPRODUCE 1. Run Plasmashell Wayland with 4 screens (haven't tested with 3 or 2, but might work as well) 2. Configure backgrounds, control bar etc. to your liking 3. Deactivate one screen in the System Settings (4->3 screens (or 3->2 screens or 2->1 screen)) 4. Let the Screen Lock activate and the Screens go to sleep (Energy Savings Settings) 5. Make some inputs on the PC to wake the screens up and unlock the session OBSERVED RESULT The Desktop is not restored to its state before locking/screens turned off. The screens and their configuration might be shifted to different physical displays or completely missing. Running "plasmashell --replace &" in the terminal does restore the correct configuration. When all screens are activated, the correct desktop configuration is always restored. EXPECTED RESULT Even when screens are turned off, the configured desktop layout should be restored. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20230808 KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.4.8-1-default (64-bit) Graphics Platform: Wayland Processors: 8 × AMD Ryzen 5 2400G with Radeon Vega Graphics Memory: 31.2 GiB of RAM Graphics Processor: AMD Radeon RX 580 Series ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.