This is driving me crazy. :/ What we need, in a nutshell, is this: - window is moved/resized/changed: save desktop state - screen is put to sleep: save desktop state and disable WM events - screen wakes up: restore desktop to what it was, if screens are missing, put all windows on 1st workspace of the primary screen - if screen is disconnected: save desktop state, move out of bounds windows to 1st workspace of the primary screen - if screen is connected again: restore desktop state if no WM events occurred while screen was missing
If WM events are suspended a moment before screens are turned off/to stand-by/to sleep/low power mode/... and desktop state is saved, then no re-arrangement would occur. I also noticed that having a window on my secondary screen and issuing a 'Move To Workspace' by right clicking on a title bar, will always send the window to my primary screen. Which is also slightly 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: Confirmed 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