STEPS TO REPRODUCE 1. connect an extra monitor to a laptop, place some windows on different screens 2. close laptop lid 3. open it EXPECTED RESULT first of all, in power management settings i set "do nothing when lid closed" instead of "turn screen off" and the screen of the laptop still turns off making all windows move to another screen. then, when the lid is opened and the screen is turned back on, i can see all the windows on the external monitor, they're not moving back to laptop screen OBSERVED RESULT when laptop lid closed, screen stays on if power management settings says so. and even when laptop screen is disabled anyways somehow, windows move back to their places it when it's enabled again SOFTWARE/OS VERSIONS Linux/KDE Plasma: arch KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION sorry if kscreen is a wrong plasma component to report this, it's both powerdevil and kwin issue i think, but have no idea how it all works tbh
Is this on X11 or Wayland?
(In reply to Nate Graham from comment #1) tested on X11, but as far as i understand this is the issue with window placing logic in kwin, not a fault of graphics protocol, so i expect the same behaviour on wayland, though can't check unfortunately
I'm able to confirm this behavior on X11, on git-master On Wayland, the windows reposition themselves as expected when the laptop lid is opened
Adding the x11-only keyword