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

Feb 23, 2022 6:34 AM in response to pommarg

Bump.

2020 M1 mbp, didn't have a problem on Big Sur, upgraded to Monterey and suddenly has the issue. Monitor plugged into hdmi through a dongle. Super annoying.


Also the fact that the app windows don't seem to snap to fit to the desktops on the display when I drag them over in Mission Control view is slightly extra annoying too; they're always a few inches below the display window itself. Nitpicky, but it didn't happen before.


I haven't been able to replicate it consistently yet with my M1Pro 2021 mbp on Monterey however, but it does happen. Maybe I just haven't given it enough time while sleeping every time I test. Or maybe there's some variability with using the dongle vs the hdmi port.

Feb 23, 2022 10:14 AM in response to pmqv

Update, I don't know if I remember seeing it in this thread, but the issue doesn't occur if the laptop goes to sleep while plugged into power. So maybe it's some weird interaction with the port(s) losing power in battery mode when the computer goes to sleep?

The monitor is obviously powered on its own, but just spitballing here

Mar 2, 2022 9:59 AM in response to Jon Hitchcock

Jon Hitchcock wrote:

It might be because the external monitors turn on after the Mac does, I think that causes the OS to get confused.

This is kind of a fix for app windows:
Before you put your Mac to sleep go to Finder/Hide Others, then after wake click on each app in the dock and they'll be in the place where you left them. It works for me anyway.

This tip seemed to be the solution, but I'm a "hide others" freak. I always did that, even before Monterey and this annoying bug, and I'm still having it.


Apparently, like someone said, most of the time, the MacBook wakes up and doesn't "know" it is connected to an external monitor. Then it shows the windows in the position they'd be in the integrated monitor (always positioned in the bottom left corner). Occasionally, the windows will show where I left them before the MacBook went to sleep, which probably happens because the computer "realizes" it is connected to an external monitor. Couldn't figure out why it's not persistent.

Mar 3, 2022 6:44 AM in response to pommarg

Same issue brand new MacBook Pro 16 Maxed out, my main 4k monitor wakes a little later and all the safari or Firefox screens have either jumped to the MacBook monitor or have resized to the MacBook resolution on the 4k monitor (as in the safari browser snaps to the bottom left of the 4k monitor and retains the same small size and aspect ratio of the MacBook monitor). It also screws with my Adobe Illustrator and After Effects palettes set up on the laptop monitor, I have to reset my custom viewport every single time.

Mar 3, 2022 9:39 AM in response to pommarg

I'm new to MacOS and it's awesome but this windows constantly rearranging is super duper undesirable. I run three displays, 2 external LGs. With Debian and Ubu, I could fix the unfixable with terminal commands. I'm not sure if Apple permits such tinkering but I'm willing to try if that's what's required. I have Apple Care and I think that means I can call so I guess I'm going to do that because I haven't found the answer on the interwebs.


Does anything look out of place below?


SPECS

----------------

 Chipset Model: Apple M1 Pro

 Type: GPU

 Bus: Built-In

 Total Number of Cores: 16

 Vendor: Apple (0x106b)

 Metal Family: Supported, Metal GPUFamily Apple 7

 Displays:

LG HDR 4K:

 Resolution: 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition)

 UI Looks like: 1920 x 1080 @ 60.00Hz

 Main Display: Yes

 Mirror: Off

 Online: Yes

 Rotation: Supported

 Automatically Adjust Brightness: Yes

Color LCD:

 Display Type: Built-in Liquid Retina XDR Display

 Resolution: 3456 x 2234 Retina

 Mirror: Off

 Online: Yes

 Automatically Adjust Brightness: No

 Connection Type: Internal

LG HDR 4K:

 Resolution: 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition)

 UI Looks like: 1920 x 1080 @ 60.00Hz

 Mirror: Off

 Online: Yes

 Rotation: Supported

 Automatically Adjust Brightness: Yes

Mar 9, 2022 9:05 AM in response to kpuscas

I've been using Magnet before and after experiencing this change in behavior and it has not solved anything for me.


Are you keeping all windows from open apps on the same screen - or trying to keep multiple windows from the same app (e.g. Safari) on different screens? I had multiple app windows carefully set up to be in different workspaces depending on task. After sleep, they regrouped from second screen to laptop and mixed everything up. Since turning off sleep, they have been mostly well-behaved, but this is not a long-term solution.

Mar 9, 2022 10:01 AM in response to Caniacal

I generally have different apps on different screens.


Thinking about it now, the other change I made was I installed DisplayLink manager to get my new Pluggable hub to work with 3 monitors so I'm running 1 TB4 to the hub and then 3 HDMI out. Before I had all three monitors plugged directly into the laptop. It was about the same time as I installed Magnet so could be a variable as well.

Mar 19, 2022 6:59 AM in response to pommarg

Just adding another user with this issue. Brand new 16" MacBook Pro M1Max with 2 external thunderbolt to Display Port connections. As others had noted, this issue seems to happen because the displays wake after the Mac. If I turn on the displays before waking the Mac, I don't have this issue, but this is hardly an acceptable solution. Forgetting to do this and you're spending a minute+ re-organizing your windows. Especially annoying in an application like Adobe Illustrator with a myriad of tool windows that get scattered to the wind. I've submitted a formal bug report. Let's hope this gets a fix soon! Such an annoyance for such an expensive machine.

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.