Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Windows pile into one monitor after dual monitors sleep

I have a 2013 MacPro, and until recently was running dual Dell 2007FP monitors. When my screens went to sleep from no activity, everything would be as it was left when I woke them up. I just upgraded one of the two screens to a Dell P2415Q (4k) monitor, which is being used as my primary screen.


Both monitors go to sleep at the same time, and if I wake them up right away – in the case where I'm sitting in front of them - all is fine. However, when they sleep for any extended periods of time 10+ minutes it seems, all the windows from my second older monitor pile into the main screen, and I have to go through the very annoying task of rearranging the windows.


The new Dell monitor is connected via the Thunderbolt to DisplayPort connector, incase that has anything to do with it. The other Dell uses an Active MiniDisplayPort (TB) to DVI-D connector.


Wondering if anyone has any thoughts about this, or have experienced a similar situation with other screens? Note, I don't have my machine set to sleep at all (never put it to sleep), and keep hard drives and system active. Only the displays put themselves into Power Save mode.


Thank you

Stephen

Mac Pro, OS X Yosemite (10.10.2), 32GB RAM, 3.5Ghz 6-Core, Dual D500

Posted on Apr 3, 2015 3:47 PM

Reply
Question marked as Best reply

Posted on Apr 3, 2015 5:30 PM

The Mac uses a single highly-parameterized Driver for every display. The parameters are set based on the reported capabilities of your display. The Mac issues a query to the display at certain times:


• wake from sleep

• Mac cable-end inserted

• when requested with Option-(Detect Displays) in System Preferences > Displays


Many multi-Input displays have a tragic flaw. The displays search round-robin through their inputs, looking for the first one that is active. If the Display is not looking at the correct input when the Mac issues its query, the request will be missed, and the Mac takes no answer as the equivalent of "no display", and that display stays dark.


If your display can be set to pay attention ONLY to the Mac attachment port, most displays (except those that are extremely slow at waking up) will always answer when the Mac sends its query, and this problem will disappear.

29 replies

Jun 30, 2015 6:57 AM in response to Pahtcub345

I have 2 monitors (Dell 24" 4K) that have to be occasionally powered on and off to reactivate them after sleep (there is a long-running thread about this in this forum). This is in Yosemite, btw.


When I have my 2 monitors set up as separate spaces, the windows always pop back onto the correct monitor after power on/power off.


So, the scenario is:

I power down one of my monitors because it doesn't wake up.

All of the windows from this monitor will move to the active monitor.

I power the un-detected monitor back on.

All of the windows that were on this monitor leap back onto it and the montior wakes up.


The system always seems to remember which monitor the windows were on and does the correct thing.


If I do not have "monitors as separate spaces" on (checked), the windows would have to be moved by hand, back to the powered/on/off monitor.


I hope that's clear.

Jun 30, 2015 9:35 AM in response to Pahtcub345

I checked my settings for Mission Control, and it was already set such that "Displays have separate spaces" was checked. I did find that in the Energy Saver settings there is an option for turning off the monitor, which was set for 10min. I have turned that off, but I have yet to test it as I have been busy with a new client all morning long. I will definitely be able to test that change tonight.

Jul 2, 2015 3:42 AM in response to Michael Bauer1

After some experimentation, I believe I have confirmed that my issue is the display going into sleep mode.


Here are the steps I performed:

  1. In Energy Saver I changed Display sleep to Never and used it for the day. Even after sitting all night, windows are still where they should be when I start work in the morning.
  2. Switched the Display sleep back to about 20min or so, and multiple times I came back to a desktop that was shoved to the upper left.

I hate to thing my only options are to either live with it or to completely shut off the display sleep and burn my fairly pricey monitor up quicker. Maybe someone has another idea?

Jul 2, 2015 7:20 AM in response to Grant Bennet-Alder

I can definitely confirm that the Monitor Sleep is the issue on my side, but I absolutely need to use this feature as well. I tried to swap the connections around and see if I could trick the machine (if that even makes sense), but haven't narrowed down any solves.


I spoke to Apple at length regarding this issue, as part of another problem I was having where upon restart my primary monitor would switch positions of dock and menu to the other screen. Doesn't look like those issues are related, but they did make a note of this problem and "are considering a solution".


Unfortunately that 10.10.4 update didn't solve it.

Aug 7, 2015 11:16 PM in response to Stephen Barrante

This same problem in Yosemite 10.10.3 and 10.10.4 has been hindering my productivity for months. I am anxious to see it resolved. I have tried all the tips here. Nothing works. I have a Dell P2815Q 4K monitor and a Westinghouse LCM-22w3 monitor. My graphics card is an NVIDIA GeForce GTX 680 (which I firmware flashed to get EFI boot screen). With the NVIDIA Driver Manager, I have tried both the NVIDIA Web Driver and the OX X Default Graphics Driver. The annoying problem persists – Finder windows that I have placed on my right monitor get collected to the left monitor after 10 or more minutes of Display Sleep. Computer Sleep is set to never. Both monitors are set to 1680 x 1050.

Aug 27, 2015 11:51 AM in response to Mattssm

My interim solution, until Apple decides to fix this issue, is to use SwitchResX by Stéphane Madrau – http://www.madrau.com/. I use "Save Desktop" and "Restore Desktop" from the SwitchResX menu in the menu bar. As long as the "piled up" windows are still open on the Desktop, "Restore Desktop" will put them back into place after wake from sleep. I have to manually select "Restore Desktop" – I wish it would restore the windows automatically. I talked to Stéphane about it and he said he can't do much better than this given Apple's current handling of sleeping monitors in Yosemite.


Is this issue still happening in El Capitan?

Sep 6, 2015 12:06 PM in response to Stephen Barrante

I too ran into this issue after purchasing two Dell p2415q 4k monitors for my late 2013 MBP running Yosemite 10.10.5. My issue is resolved now.


After reading the thread, "eludwig" had a suggestion to check the box for "displays have separate spaces" in the mission control settings. This enables each monitor to be "its own primary desktop" therefore having memory for window settings after waking from a long sleep. I do have my energy settings set to "turn display off after 10min" with "prevent computer from sleeping automatically" "wake for wifi" and enable power nap" checked.


You can even test this by pressing the power button to turn one monitor off - where the windows will jump to the other monitor. However, when you turn the monitor back on, they will jump right back into the remembered place.

Mar 29, 2016 1:37 PM in response to Richard Schletty

This is happening to me too...main monitor is hdmi attached, and gets all the windows piled on it from the other, which is lightning-to-DP. But! It doesn't always happen.


My system needs a password on wake, and I *think* I've detected a pattern where if the sleep is short, or if I wiggle the mouse and wait for the monitors to come back *before* putting the password in, things are fine. Not positive, but it seems to be happening less lately, including overnite.

Windows pile into one monitor after dual monitors sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.