You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Monterey seems to not remember which display should show which windows after sleep wakeup

I have a 2 display setup. I move some Safari windows to one screen. After waking up from sleep, all windows are on one screen and the second is empty. This is on an M1 mini.

Posted on Oct 30, 2021 4:50 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 20, 2022 8:20 PM

Not sure if Apple even considers this a "bug". I'm thinking the only shot we have of getting any kind of resolution is reporting it as such.


if you are a software beta tester....

https://developer.apple.com/bug-reporting/


otherwise

https://www.apple.com/feedback/


Please reference this thread (and others via google search so they realize this is an issue.

135 replies

Mar 24, 2022 1:57 PM in response to pommarg

I am also experiencing this on Mac Monterey. This is wildly frustrating as I have lots of windows open and organized on different desktops across 2 displays. And every time it sleeps this happens. I have wasted so much time just reorganizing my desktops daily. Incredible that apple has taken so long to fix this but I guess shouldn't be surprised! Might be finally moving away from apple soon given the quality issues I've experienced.

Apr 7, 2022 9:52 AM in response to pommarg

I have this problem too. iMac M1 24", Monterey 12.3.1.


Every time the computer goes to sleep, upon wakeup, all windows revert to the screen with the menu bar.

Very frustrating.

This never happened on my old Mac mini Intel i7 running OS 11.x.x and earlier.

Clearly, a bug by Apple. Probably, upon re-start from sleep, the OS looks at what motors are available, does not (yet) see the second external monitor), and then places all the windows onto the main screen. Perhaps 0.5 seconds, later, the OS "wakes up" the external monitors, but by that time, the window locations have been reset.


It would seem that NOBODY at APPLE gives a **** about software QA on Macs with multiple monitors, beyond ensuring that they turn on (which is not always the case with the Mac mini... another long time bug over the past 3+ years for 100s / 1000s of mini owners, covering both i7 and M1 chips)

Apr 8, 2022 6:57 AM in response to pommarg

I have the same thing. 2 ASUS (PA248, PA278QV) displays, 5 spaces. Mac Studio 12.3.1.


All the Windows for all applications are gathered onto the monitor with the Dock, in all spaces.


My systems is NOT sleeping. It happens when the screensaver is activated for a while. That is, if I do Command-Control-Q and login again, it's OK. If I go away for a while, it's not.


I, too, have lots and lots of windows. The thought of having to deal with this for any length of time is extremely frustrating.


I know it's not while sleeping because:


@max[git:master]$ pmset -g log | grep sleep | grep powerd | tail -100
2022-04-07 08:40:14 -0700 Assertions          	PID 69(powerd) Released PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:25:14  id:0x0x10000801c [System: PrevIdle NetAcc kCPU]          
2022-04-07 08:55:14 -0700 Assertions          	PID 69(powerd) Summary PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:10:13  id:0x0x100008554 [System: PrevIdle DeclUser NetAcc kCPU kDisp]          
2022-04-07 09:17:40 -0700 Assertions          	PID 372(powerd) Released PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:12:58  id:0x0x100008063 [System: DeclUser kDisp]          
2022-04-07 09:19:10 -0700 Assertions          	PID 372(powerd) Released PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:00:30  id:0x0x100008203 [System: DeclUser kDisp]          
2022-04-07 09:34:10 -0700 Assertions          	PID 372(powerd) Summary PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:14:52  id:0x0x100008207 [System: PrevIdle DeclUser kDisp]          
2022-04-07 19:00:49 -0700 Assertions          	PID 93(powerd) Released PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 02:02:59  id:0x0x10000804c [System: PrevIdle DeclUser kDisp]          
2022-04-07 20:15:49 -0700 Assertions          	PID 93(powerd) Summary PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:08:21  id:0x0x1000088c3 [System: PrevIdle DeclUser kDisp]          
2022-04-07 20:30:49 -0700 Assertions          	PID 93(powerd) Summary PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:23:21  id:0x0x1000088c3 [System: PrevIdle DeclUser kDisp]          
2022-04-07 20:45:49 -0700 Assertions          	PID 93(powerd) Summary PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:38:21  id:0x0x1000088c3 [System: PrevIdle DeclUser kDisp]          
2022-04-07 21:00:49 -0700 Assertions          	PID 93(powerd) Summary PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:53:21  id:0x0x1000088c3 [System: PrevIdle DeclUser kDisp]          
2022-04-07 21:15:49 -0700 Assertions          	PID 93(powerd) Summary PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 01:08:21  id:0x0x1000088c3 [System: PrevIdle DeclUser kDisp]          
2022-04-07 21:26:33 -0700 Assertions          	PID 93(powerd) Released PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 01:19:06  id:0x0x1000088c3 [System: DeclUser kDisp]          
2022-04-07 21:29:07 -0700 Assertions          	PID 93(powerd) Released PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:02:24  id:0x0x100008b92 [System: DeclUser kDisp]          
2022-04-08 04:59:07 -0700 Assertions          	PID 93(powerd) Summary PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:00:12  id:0x0x100009130 [System: PrevIdle DeclUser NetAcc kCPU kDisp]          
2022-04-08 04:59:24 -0700 Assertions          	PID 93(powerd) Released PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:00:30  id:0x0x100009130 [System: DeclUser SRPrevSleep kCPU kDisp]          
2022-04-08 06:44:24 -0700 Assertions          	PID 93(powerd) Summary PreventUserIdleSystemSleep "Powerd - Prevent sleep while display is on" 00:06:10  id:0x0x10000935b [System: PrevIdle DeclUser kDisp]          
   pid 93(powerd): [0x0000c0540001935b] 00:15:45 PreventUserIdleSystemSleep named: "Powerd - Prevent sleep while display is on"  
@max[git:master]$ 

Apr 8, 2022 7:14 AM in response to envoy510

I previously said that it happens after a while. I can now define it: it happens when the displays go to sleep. If I lock the screen and login again immediately, no problem. If I lock the screen and the displays are allowed to sleep (20-30 seconds), then it happens.


Also, if the windows are minimized, during the activation of this bug, they restore to the correct place.


This seems like a pretty trivial bug to reproduce. It's hard to believe it hasn't been fixed before now.

Apr 13, 2022 3:31 PM in response to envoy510

I had a session with tech support (phone, screenshare). They had me try it in safe mode. At first, it didn't happen. Then they had me delete 3 .plist files and then it happened in safe mode, too. I didn't write down the names of the files deleted, sadly.


But, weirdly, the problem only now happens if I lock the screen, let the monitors sleep and wake them and login immediately. If I'm gone a while, the problem no longer happens.


The tech support asked for a 2nd call. I was at my phone at 2pm. Then at 2:09 I got an email they called and "missed" me. No, I don't silence unknown callers.


The other thing found on the call: I have the Preferences > Mission Control option "Displays have separate Spaces" unchecked. This means I have a menu bar on one monitor not both. When I move the menu bar to the other monitor and do the test, the windows are gather to that monitor (the one with the menu bar). That seems important.


I have a friend that has the same bug, but he has "Displays have separate Spaces" checked, so there goes that hypothesis.

Apr 14, 2022 8:03 AM in response to pommarg

Im having this same issue on my new Mac Studio. I have LG 4K monitors connected through thunderbolt-4 ports in the back and a 4K TV connected via the HDMI cable. If the computer screensaver goes on or it sleeps for a short time everything is fine. I only see the issue happen once the monitors also sleep.


This did't happen on my old 2020 intel MacBook Pro running Monterey hooked up to a docking station. Perhaps it's something happening only on silicon devices?

Apr 18, 2022 10:00 AM in response to christopherelang

Big Sur initially did this exact same thing. I was connecting with Apple Support multiple times on it. Finally after one of the later updates the issue resolved and ever since was solid. Then Monterrey came along and here we go again. Exactly the same issue the Big Sur had initially. One would think and hope that Apple would have carried that solution over between operating systems.

Apr 25, 2022 11:01 AM in response to pommarg

New Mac Studio (currently 12.3.1), with 2 Dell P2715Q screens, both attached with USB-C -> mDP cables. Had a session with Apple Support, they ran through every debugging thing they could think of, no fix. Apple Support said it is a bug and they are working on it. So... one day we will see it fixed I guess. Until then, there is Moom to the rescue. If you want to try, I got Apples attention by tweeting to their Twitter AppleSupport channel.


A couple of things to note. Moom does work for me! But, I needed to do an extra to get it to work. After installing Moom, and setting up my application windows they way I want, I created a snapshot in Moom. Then, I updated the snapshot while holding the option key down. After doing this, I can now quickly reset the position of my apps to the secondary screen with my shortcut. Hope this helps someone else.

May 18, 2022 5:36 PM in response to MGID

I have tried the link's method (by creating calibrated color profile) but still not works. The app's windows still goes everywhere after sleep wakeup.


https://canartuc.medium.com/windows-are-not-shown-after-sleep-in-macos-big-sur-solution-is-here-3664985fbec9


Setup:

Macbook Pro 16" M1 Max + 2 x Acer VG280K (connected by USBc + HDMI).


Can Apple please do fix this little bug. This is killing macbook productivity everytime when we wake up from sleep, need to reorganise the windows in every desktop.

Monterey seems to not remember which display should show which windows after sleep wakeup

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