Getting the bug here too.  16.04

David's post #59 was very helpful to me
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1295267/comments/59

I think he's figured it out (at least for our setup).  My problem seems
to be that when I press the suspend button, one of my screens goes to
sleep before the rest of the system, forcing the windows to move to the
non sleeping screen.  When I wake up, both monitors wake up, but the
windows don't move back to the second screen.

I've found a workaround by disabling dpms using "xset -dpms".  It's not
the best solution, but when I leave my PC I turn off my screens &
speakers at the wall anyway.

I also found a workaround was using VGA instead of HDMI with one of the
screens (doesn't work with the other screen), but VGA didn't look great,
so I wasn't happy with that.


It seems to me like there are two ways to fix this bug.


#1 detect the bad screen behaviour, and put the windows back on the correct 
screen.  For example, if one monitor gets "removed", then the system goes to 
sleep a few seconds later, then the system wakes up and both monitors are 
there, then you know that was bad behaviour and can work around it.


#2  Find a way to not inform the monitors that the PC is going into sleep mode. 
 If they don't attempt to sleep before the PC goes into hibernate mode, that 
seems like it should work (basically a more sophisticated version of my xset 
-dpms solution).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1295267

Title:
  Windows change Monitor/Desktop after screen lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1295267/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to