Just noting that this reproduces (grossly) on my 16.04 Unity, too. Config: Dell XPS 9530 (4k touch screen) + Samsung 4k external display. I've tried other external displays and I get the same problem. Happens with both Nvidia graphics (proprietary) and Intel.
I agree that some of this harder to fix: connecting and disconnecting displays (be it intentionally or because they power themselves off) --> not easy to retain the position of the windows when the same monitor later comes back online. (Could be a different one that is connected, with a different resolution or layout for example). Anyhow, windows disappearing outside visible area, being moved from virtual desktop (workspace) to another, being scaled to 1 pixel width and moved if they would have fitted into the new screen dimensions, should not happen, ever. Further, with 4k laptop display and 4k Samsung monitor, I keep losing windows even though the monitor isn't being disconnected or shut down. Just moving between virtual desktops (workspaces) is enough to cause the windows to move around, switch workspaces and disappear. Goes without saying that it is quite annoying. -- You received this bug notification because you are a member of DX Packages, which is subscribed to compiz-plugins-main in Ubuntu. Matching subscriptions: dx-packages https://bugs.launchpad.net/bugs/1295267 Title: Windows change Monitor/Desktop after screen lock Status in Unity: Fix Released Status in Unity 7.1 series: Fix Released Status in compiz-plugins-main package in Ubuntu: Fix Released Status in unity package in Ubuntu: Triaged Bug description: I run a dual monitor configuration, with one portrait and one landscape. I nearly always have multiple applications open in multiple windows across both monitors and all virtual desktops. When I lock the screen and then unlock, my application windows will move from their original position. Sometimes they are in completely random positions; Other times they seem to get the monitors confused, and rather than being in the top half of the portrait monitor they are on the top half of the landscape monitor; Sometimes it is only a new desktop, but the monitor position is the same; Sometimes it is the same desktop, but on the other monitor. Description: Ubuntu 13.10 Release: 13.10 What I expect to happen: When I unlock my computer, all the windows are in the same position on the same monitor and desktop as I left them. What actually happens: When I unlock my computer, some or all of the windows have been changed to a random position on a random monitor and/or desktop. To manage notifications about this bug go to: https://bugs.launchpad.net/unity/+bug/1295267/+subscriptions -- Mailing list: https://launchpad.net/~dx-packages Post to : dx-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~dx-packages More help : https://help.launchpad.net/ListHelp