SUMMARY My laptop connects to 2 monitors. When I unplug both, the windows on the right monitor stays out of the screen. STEPS TO REPRODUCE 1. Open windows on both external monitors, maximized. 2. Disconnect both external monitors OBSERVED RESULT The windows on the right monitor are now out of the screen EXPECTED RESULT The windows on the right monitor get moved into the laptop screen SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION Laptop: ThinkPad X1 Carbon Gen 9 Graphics processor: Mesa Intel Xe Graphics Processor: i7-1185G7 My external monitors are 4K at left and 1440p at right. Left one is the main monitor. When plugged in, I set the laptop screen to be disabled. My laptop screen is also 4K. After unplugging, the windows on the right monitor still show up in Alt-Tab, but when you switch to them, they don't show up. I can manually move them back using window menu's 'Move' action, but that's cumbersome. I'm running Plasma with Wayland. In the past I did the same thing with X11, and this was not an issue.
Should be fixed in plasma 6 *** This bug has been marked as a duplicate of bug 452118 ***