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 Apr 25, 2022 11:01 AM

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.

135 replies

Jan 25, 2022 6:48 AM in response to roadrunner1947

The only app that seems to stay where they belong (it it is not on the main screen) is Reminders of all things. I don't know of any other app that wants to control the screen. I'm a developer so it's mostly different IDEs and programming tools, couple of Electron based apps (ex Slack) and then standard Apple apps (Safari, Music, Calendar).


There does seem to be a time aspect to this. Everything stays in place if it only sleeps for an hour or so (ex if I go to lunch) but over night things definitely get scrambled.

Feb 9, 2022 9:52 PM in response to bruiselee13

I seriously doubt Apple developers are creeping around these boards to work on new bugs. The only way they will is enough people file bug reports.


Once enough are received, one would think that a company that is interested in being eco friendly would not want the work around to be never let their computers sleep and waste all that electricity.


Fill out bug reports to bring it to their attention otherwise we are stuck with never letting our machines sleep and increasing our carbon footprint.

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 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.

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.

Dec 20, 2021 9:02 AM in response to pommarg

Same thing too, using 2 external LG 4K monitors via USB-C on a 2019 16" MacBook Pro. When using Big Sur all was fine. Was hoping that 12.1 would fix it but that was false hope :-(

After upgrading same issue as others are mentioning here: windows are re-appearing randomly on the three screens after returning from sleep (which is several times a day). Not only that, every now and then MacOS also "forgets" that those 2 external monitors do not support the HDR setting (different story) and the setting is turned back on.

Thinking about downgrading to Big Sur since this is really annoying

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.

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.