Incorrect handling of windows/monitors after suspend.
Submitted by Josh
Assigned to Olivier Fourdan @olivier
Description
When resuming from a suspend (sleep), the original position of my monitors will not be correctly remembered. I have three displays; two 2560×1440 and one (laptop, built-in) 1920×1080. The displays are arranged horizontally, bottom-aligned; their order is Native Laptop (#1 (closed)), DisplayPort (#3), HDMI (#2). I have the DisplayPort monitor in the middle because it's the fastest, highest-bandwidth connection, even though it is designated #3 at the hardware level.
The behaviors I see instead after resume include the following:
(1) Laptop and DisplayPort are overlayed, one atop the other. A vast void spans between these two displays and the HDMI display, where windows can be placed but cannot be rendered (and so they are shifted out). (2) The three monitors are positioned correctly, but the DisplayPort monitor is disabled (I must check the "Use this display" button). Same immense void problem as above. (3) The three monitors are positioned correctly, all are enabled, but the HDMI monitor is not woken. This doesn't happen if I disable "HDMI Deep Sleep" in the monitor's OSD settings.
These are especially annoying because, while I'm sorting the monitors to get them positioned correctly, XFWM4 is busy moving my windows to be wherever the hell the display manager thinks the monitors are. This is a very important behavior that completely backfires in this case. When all is said and done, all of my windows are split between displays 1 and 2. Display 3's panel applets still believe they are on display one, though. I'll file another bug for that.
The version I have listed is not completely correct. According to xfwm4 --version, I am running 4.12.4 (revision 78449522) for Xfce 4.12.
Thanks for your time!
Version: 4.12.0