10.11.4 Window position off-screen after wake from sleep + external display

Does anyone else have issues with windows being positioned off-screen when waking their MacBook Pros from sleep or when using an external display?


I have a 15" rMBP and routinely connect it with lid closed to a Dell P2715Q 4K display. Whenever I wake it from sleep, many of my windows are off-center and have to drag the windows from the right-most edge back to the center.


I can't say for sure if this is application-specific or for all windows, but Mail.app and Messages definitely do this.


I'll do more testing later, and post any updates. Thanks!

MacBook Pro with Retina display, OS X El Capitan (10.11.4), MacBookPro11,2

Posted on May 3, 2016 1:04 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 17, 2017 2:58 PM

Whether or not the order of settings or events seems to be important, the issue does seem to be related to the "Mirror Displays" setting (under the System Preferences > Displays > Arrangement tab), which, of course, is only available when multiple displays are present. In my case, I use my MacBook Pro in the field quite often, but when at my desk I use an external display. Also, when I'm in the field, I sometimes use my iPad Pro as a secondary display so I have my primary display (menu bar indicator) set to my MacBook Pro. When I leave it this way, this problem often/always exists at my desk when my system wakes up from sleep. However, when I have my primary display (menu bar) set to my external display at my desk, this problem does not seem to exist ... at least in my early tests. Given that the issue has persisted through several versions of the OS, my guess is that Apple considers this "broken as designed", but at least there's a work-around: Keep your primary display (menu bar) set to your principal external display, not your MacBook.


MacBook Pro 2016 15" with touch bar, running Sierra 10.12.6

Asus 24" display (PB278, I think)

iPad Pro 12.9"

40 replies

Aug 14, 2016 4:31 PM in response to Ralph-Johns-UK

I'm afraid I don't think bluetooth or any audio have much to do with this problem, which appears to be about window placement in all apps on "external displays" are those displays wake from sleep. It appears to be something that started in El Capitan.


Mirroring, as the name suggests, means the screens mirror each other and so have the same content: this is absolutely not what I want: I have three separate screens because I want to see three separate screens worth of stuff!

Aug 15, 2016 12:03 PM in response to cjw296

Hi,


You seem to be missing the point of my example.


My example of the Audio and Mic set up in iChat was to illustrate that sometime it is crucial which order you do things.

From the Quote post:-


My scenario (similar to OP):

At work - MBP Retina connected to external LG IPS by thunderbolt, no mirroring and extended desktop, laptop set as primary display


I.e. laptop is running internal and external display and has not problems even when waking from sleep.


Then:-

At home - Connected to external Dell 4K by thunderbolt, laptop in clamshell mode (ie laptop closed)


There are two displays but the laptop is only really running one - the external when the computer is awake.


There is no info at this point about which order the screens/Displays are set up in Displays (System Preferences).

The presumption would be that the external display is only mirroring the internal (if it were On)


There is no info about the external's resolution and how close this is to the closed Clamshell Internal display.


SO the person did this:-

At work, mirroring is off. You can't change mirroring when in clamshell mode, so for this test at home I had both screens initially on. The first important step was to make the external Dell the primary monitor by moving the dock over.

Then:-

Second step was to turn on mirroring.

So the External Display is now lead monitor

It is now set to Mirroring which the extra info indicates was not On in the first place.


The Result


End result - for over a week, not a single window has moved off screen coming out of screen saver or sleep.


They go on to say:-


Side note, changing the settings in order seems to be important - when I tried setting mirror mode first but didn't change the primary monitor (which you can't do once mirroring is turned on)


If my use of a similar instance in another app was confusing I apologise.



User uploaded file

8:03 pm Monday; August 15, 2016


 iMac 2.5Ghz i5 2011 (El Capitan)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 iPhone and an iPad (2)

Aug 15, 2016 11:37 PM in response to Ralph-Johns-UK

Right, so now I'll repeat, since you appear to be missing the point of what I'm saying:


  • I have a Mac Pro (you know: small black dustbin things)
  • I have three monitors, it is a static configuration, I don't change anything, so there's nothing to "re-order".
  • I have never (and can never reasonably) use(d) mirroring.


BUT the movement of windows to the edge of the screen during monitor sleep sounds identical to that of the OP. Sadly, you've bashed away at this thread offering no real help enough that it's not going to make sense to anyone else who might have similar problems, so I'll go back to waiting for help here:


Windows jump off screen with external monitor


Please resist the urge to "help" more unless you have any insight or resolution for this problem, that appears to result from an upgrade to El Capitan.

Aug 16, 2016 1:49 PM in response to cjw296

Hi,


Likewise I see no response that says you have even looked at the settings and tried anything.


Bye.


One last effort.

My Triumph motorbike has to be in Neutral AND I have to pull the Clutch in before it will engage the Starter Motor.


User uploaded file

9:49 pm Tuesday; August 16, 2016


 iMac 2.5Ghz i5 2011 (El Capitan)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 iPhone and an iPad (2)

Dec 7, 2016 8:48 AM in response to [macnn]milhous

I'm seeing something similar, which I've posted about HERE.


I'm using three displays: two external monitors over HDMI and the built-in laptop display (not mirroring). I did not see this problem with my 2011 MBP 15" running the same version of Sierra, but I'm seeing it now with my newer 2016 MBP 15".


When power-saver turns the display off and then user activity turns them back on, the windows have all reverted back to the laptop.


I'm guessing the OS thinks that the external monitors are "gone missing" when things are turned off--which is why the windows move back to the laptop, but I really have no idea. When the displays turn back on, it still knows that the primary display is configured to be one of the two external monitors--the dock and system menu are on that monitor like before, but the related windows are not.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

10.11.4 Window position off-screen after wake from sleep + external display

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