Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I am using mac pro M1 chip with external Samsung G7 monitor during 3 months.
I didn't have a problem until I updated my software. After the updated 2 weeks ago i have got this issue everyday. I tried most advice in this pages but it is not solution.
If anyone have new solution please post it
 
  • Like
Reactions: EssentialGadget
Checking in.. can't believe this hasn't been addressed by Apple. What a huge miss. Part of me thinks there some weird common denominator we all share that we've just been oblivious to, because how this such a replicatable problem for us yet so few people have commented on this thread??

I'm re reading these posts and I think there are two groups of people here. There are people whos actual monitors are being rearranged after waking their computer, and then theres those whose *windows* are being rearranged to different spots and/or monitors after waking their computer. Displayplacer seems like a good fix for the former, I still have yet to find a way to fix the latter. I have yet to try different cables, I'm assuming that will the fix for me, or I'm really really hoping. The amount of anger that rushes through me every morning when I wake this $4000 mac studio is immeasurable. FIX THIS APPLE!
 
I just hooked up a Dell 27 inch 4K next to my LG for kicks.

I’ve been LG 5K solo for the past four or five months?

Within minutes and a couple sleeps, my windows were all over the place between the 4K in the 5K display, I ended up pulling the Dell display off and I’m back to the 5K display
 
I have had the same monitor issue for some time. Another thread said to change the color settings on one of the two monitors so that computer can recognize a distinction. That strategy didn't work for me. Very frustrating issue. Every time my computer restarts. (every night). I come into the office in the morning with the log in on the WRONG monitor.
 
Registered here just to follow this thread. I've been having the same issue with my M1 Mac Mini to which I have connected two HP 24ec external monitors. MacOS essentially sees them as identical monitors since they have identical names, so 90% of the time when booting from sleep, monitor arrangement is opposite of what I had previously set. SO frustrating having to open settings and swap them pretty much every single time I log on. I'm very surprised Apple has not addressed this.

I found somewhere that there is some coding that can be done in Terminal to rename one of the monitors so MacOS can differentiate them and then (hopefully) remember the correct arrangement, but as with most things in Terminal, it was way too advanced for me to understand and I didn't want to mess anything up. :/
 
Registered here just to follow this thread. I've been having the same issue with my M1 Mac Mini to which I have connected two HP 24ec external monitors. MacOS essentially sees them as identical monitors since they have identical names, so 90% of the time when booting from sleep, monitor arrangement is opposite of what I had previously set. SO frustrating having to open settings and swap them pretty much every single time I log on. I'm very surprised Apple has not addressed this.

I found somewhere that there is some coding that can be done in Terminal to rename one of the monitors so MacOS can differentiate them and then (hopefully) remember the correct arrangement, but as with most things in Terminal, it was way too advanced for me to understand and I didn't want to mess anything up. :/
If they're both identical, what would happen if you physically swapped them (leave them plugged in to the Mac, but just move one to the other side) instead of rearranging them? Would the Mac keep it's arrangement after a reboot? Not a fix to macOS being dumb, but possibly a work-around if it prefers one to be on the left and the other on the right....
 
If they're both identical, what would happen if you physically swapped them (leave them plugged in to the Mac, but just move one to the other side) instead of rearranging them? Would the Mac keep it's arrangement after a reboot? Not a fix to macOS being dumb, but possibly a work-around if it prefers one to be on the left and the other on the right....
My experience of this is that there seems to be no logic to it. Early on I tried to do the same thing, but then they would just switch around again. Doesn’t seem to make any difference if it’s over HDMI or USB-C or a mixture of the two.
 
My experience of this is that there seems to be no logic to it. Early on I tried to do the same thing, but then they would just switch around again. Doesn’t seem to make any difference if it’s over HDMI or USB-C or a mixture of the two.
Bummer
 
Hi there,

I am currently investigating my options for a dual-monitor setup and saw this (was able to reproduce this at my workplace). What can I do to avoid this? I do own a MacBook Pro 14" (2021) and a Anker TB4 dock (1 TB4-in and 3 TB4-out) and my goal is to have one single cable to connect to my MacBook and two monitors (same model) work reliable. Do you have any recommendations or could you check these two ideas:
  • Is buying 2 TB3-Monitors from LG and daisy chain them an option or would this issue still exist when monitors are daisy-chained? (LG 32UL950-W)
  • My other idea was buying one Dell UltraSharp U2723QE and one U3223QE just to avoid this annoying issue.
  • Other idea was buying one U2723QE and one U2723QX (only difference seems to be a shipped HDMI-cable) just for the other model name ... but unfortunately this model (U2723QX) seem to be unavailable.
  • Is there any other reliable option?
I need a reliable docking setup and do not want to go into system settings, checking arrangement and primary monitor every single time I dock my monitors :(

Regards
 
Sadly, I don't think this is solvable at all by choosing the right docking setup, aside from going down to a single monitor or deliberately buying different monitors just to avoid this, which is still a maybe AFAIK.

I think this is Apple 💩ing on the rug and will be solved if and when they can be bothered to :/


Hi there,

I am currently investigating my options for a dual-monitor setup and saw this (was able to reproduce this at my workplace). What can I do to avoid this? I do own a MacBook Pro 14" (2021) and a Anker TB4 dock (1 TB4-in and 3 TB4-out) and my goal is to have one single cable to connect to my MacBook and two monitors (same model) work reliable. Do you have any recommendations or could you check these two ideas:
  • Is buying 2 TB3-Monitors from LG and daisy chain them an option or would this issue still exist when monitors are daisy-chained? (LG 32UL950-W)
  • My other idea was buying one Dell UltraSharp U2723QE and one U3223QE just to avoid this annoying issue.
  • Other idea was buying one U2723QE and one U2723QX (only difference seems to be a shipped HDMI-cable) just for the other model name ... but unfortunately this model (U2723QX) seem to be unavailable.
  • Is there any other reliable option?
I need a reliable docking setup and do not want to go into system settings, checking arrangement and primary monitor every single time I dock my monitors :(

Regards
 
Hi there,

I am currently investigating my options for a dual-monitor setup and saw this (was able to reproduce this at my workplace). What can I do to avoid this? I do own a MacBook Pro 14" (2021) and a Anker TB4 dock (1 TB4-in and 3 TB4-out) and my goal is to have one single cable to connect to my MacBook and two monitors (same model) work reliable. Do you have any recommendations or could you check these two ideas:
  • Is buying 2 TB3-Monitors from LG and daisy chain them an option or would this issue still exist when monitors are daisy-chained? (LG 32UL950-W)
  • My other idea was buying one Dell UltraSharp U2723QE and one U3223QE just to avoid this annoying issue.
  • Other idea was buying one U2723QE and one U2723QX (only difference seems to be a shipped HDMI-cable) just for the other model name ... but unfortunately this model (U2723QX) seem to be unavailable.
  • Is there any other reliable option?
I need a reliable docking setup and do not want to go into system settings, checking arrangement and primary monitor every single time I dock my monitors :(

Regards

To be honest I wouldn't let it put you off. It's wrong for me about half the time I plug my monitors in. It is annoying but it takes about 30 seconds for me to rearrange my monitors and place my windows onto the correct monitor (I've had plenty of practice 😂). I shouldn't have to do this of course but compared to the productivity gain I get from having multiple monitors it's a tiny amount of time.

As an aside I wonder if this is even fixable (it seems like this has been an issue for a while). Has anybody tried this setup on Windows or Linux? Two identical monitors plugged into a single thunderbolt port via a dock. It depends on what information the monitors make available to the OS. If everything apart from the serial number is identical and the monitors don't make the serial number available to the OS then I don't see how the OS can tell them apart. If they do make the serial number available to the OS then it should be easy to tell them apart.
 
  • Like
Reactions: Argoduck
Good afternoon all! Like many of you, I just signed up for this! I have a mac mini purchased by my job and sent to me with 2-VL279 27" Asus monitors. The crazy thing is, this issue started a few weeks ago for me, I was fine from October 25, 2021 up until Novemeber. Had windows for 6 years prior with no issue, they were Samsung 27" monitors though. I had not changed anything in settings, just one day, I woke my computer up, and they were swapped. I have tried everything, and still, every morning, swapped. I cannot rename monitors, screwed around with wires, moving monitors, turning monitors off/on, doesn't matter. I know it's easy to go into settings and just keep swapping it but it is truly annoying.
 
  • Like
Reactions: lasyos
Sorry, I forgot to say something. Someone explained to me that the computer learns which spaces you use most and then we'll tweak things based on your usage? I don't know how accurate that is, but he instructed me to go to Desktop & Dock - then you will see Mission Control, then under that, you can toggle off Automatically rearrange spaces based on most recent use. I switched it off to no avail, but maybe it will work for somebody out there?
 
  • Like
Reactions: Argoduck
It depends on what information the monitors make available to the OS. If everything apart from the serial number is identical and the monitors don't make the serial number available to the OS then I don't see how the OS can tell them apart. If they do make the serial number available to the OS then it should be easy to tell them apart.
The OS can and should also use the ports on the computer where they are plugged in to differentiate identical displays.
 
Same issue... really frustrating.
Has anybody found a post on the Apple Support Community that corresponds to this issue?
 
The OS can and should also use the ports on the computer where they are plugged in to differentiate identical displays.

Both monitors are plugged into the same thunderbolt port on the computer. Can the OS determine which port on the dock the individual monitors are plugged into?

My dock has 2 HDMI ports so the OS would need to determine which HDMI port on the dock each monitor is plugged into.
 
  • Like
Reactions: Argoduck
Both monitors are plugged into the same thunderbolt port on the computer. Can the OS determine which port on the dock the individual monitors are plugged into?

My dock has 2 HDMI ports so the OS would need to determine which HDMI port on the dock each monitor is plugged into.
That might be impossible, but macOS isn't even getting it right when both displays are directly plugged in to the computer. Not even with two different connector types.
 
  • Like
Reactions: lasyos
I've been monitoring this thread for a while, and was motivated to develop a partial workaround. This eases 75% of the "pain".

My setup is:

MacBookPro M1 Max
2 Samsung S32D850 Monitors
Afterplug Dual Thunderbolt 4 Adapter with 2 HDMI ports.


(This allows me to only need to plug in one attachment when I return to my desk.)

Basically, I have used the Keysmith.app freeware to setup and automate the following:

Press Hotkey: Cmd-Shift-" to start the sequence

The software will
1. Open System Settings
2. Click Display
3. Click Arrange...
4. Wait For 3 seconds (then beep)
5. Wait for key press: (Cmd-Shift-Return)

Manual procedure:
This part is not automated since the software does not recognize mouse drag events.
In the Arrange area, I manually swap the monitor layout positions, and move the laptop monitor back to the middle.
(2 drag operation)

To finalize: Press the Cmd-Shift-Return hotkey, and

The software will:
6. Click Done
7. Close System Settings

keysmith-png.2130427.png


After that, I use Stay to Restore windows positions.

I am currently evaluating Stay to move windows back. It appears to work better than Display Maid.
It is not 100% but eases some of the burden.

I will next work on adding a final Keysmith automation step to "press" a Stay hotkey to "Restore All Windows".

For now, this works!

P.S. There is a mouse drag automation app murgaa.com online but I have not yet evaluated it.

*****************
Also (if needed)

To cleanup all macros in the Keysmith.app:

1. Open a terminal
2. cd ~/Library/Keysmith
3. rm store.keysmithdb

This will get you back to a clean slate.
 
Last edited:
FYI....

>>> P.S. There is a mouse drag automation app murgaa.com online but I did have not yet evaluated it.

I just evaluated the Murgaa Mouse & Keyboard Recorder. it does a good job of recording mouse clicks and drags, but is a more tedious setup, and is not scriptable, or able to be invoked by a hotkey. It may work for you but I am not willing to re-pay every 6 months for a trial license. I will investigate more options.
 
Last edited:
  • Like
Reactions: Argoduck
Another user here who registered to follow this thread. Got to the bottom of the first page and saw there were EIGHT pages of people complaining of the same issue.

I have a Mac Studio with dual BenQ PD2700U's. Exact same story as everyone else. Keep waking the computer to find the monitors flipped around, requiring manually going in and changing it back. I can't figure out any logic to it either. I did just check the serial numbers on the displays and confirmed what might be my one suspicion. The monitor that MacOS keeps making the primary is in fact the lower serial number (1826 vs 1829 on the left). I have them mounted on an arm and all the cables are managed and zip tied. Swapping them around on the off chance it MIGHT fix something would be a monumental pain in the ass. And others in this thread have said that made no difference for them.

The thing is, I also have these monitors hooked up to a Windows PC and a Windows-based Thin Client for work. Neither Windows machine has any issue keeping these monitors oriented. It's only Apple that seems to have no effing clue what to do. I've done tests where I've rearranged them, put the computer to sleep, and they're flipped back around a second later when I wake it back up. It's maddening.

I've tried Stay, which I think I found in this thread months ago. It seemed to work for a bit.. until it stopped working. It got to the point where I was having to switch between computers enough and was so sick of it resetting EVERY TIME that I just unplugged my right monitor and only used my Mac on a single monitor for the past couple months.

Has anyone considered we all just submit bug reports to Apple and link to this thread? This is absolutely unacceptable and makes me furious that I spent thousands of dollars on a desktop machine that can't do something as simple as remember which monitor is which.
 
Don't have this issue, but I am using different monitors (a 32-inch 4K Dell monitor, and a 27-inch 4K Dell monitor) so macOS is able to remember the arrangement when I plug my MacBook Pro into both monitors.
 
  • Like
Reactions: Argoduck
I can confirm that using 2 of the new 27" Apple monitors with a MacStudio running Ventura doesn't give the swapping issue. i have a 2021 MBP M1 at home hooked into a Kensington TB4 dock with TB4 going to 2 x Samsung 27" TB4 4K monitors and experiencing the issue. I guess apple just assumes everyone can drop $3K on monitors...
 
  • Like
Reactions: Barlog M.
I am yet another one struggling with this issue since I got a macbook pro from my work (I use Linux in my personal setup). To be specific, as pointed out by jjvw42 post above, which I quote:

there are two groups of people here. There are people whos actual monitors are being rearranged after waking their computer, and then theres those whose *windows* are being rearranged to different spots and/or monitors after waking their computer.

I am part of the former group, 2 identical displays that keep being swapped every time the computer goes to sleep.
The following configuration:
MacBook M1 Pro - Main display
Asus VG27A - 2560x1440 - 144hz
Asus VG27A - 1440x2560 - 144hz (portrait mode)
The displays are connected via a Level 1 2-port switch that gets its signal from a CalDigit Thunderbolt 4 hub.

A couple of comments that might help clarify the issue:

1) Everybody is in the latter group (Windows being rearranged across displays), with typical solutions being software-oriented, such as paid proprietary programs (e.g. Stay, Moon, and others), terminal scripts, and clever open source solutions such as displayplacer. The level of success in tackling that issue varies according to each user's configuration.

2) Some of us are also in the second group (identical displays being rearranged). The core issue comes from MacOS inability to differentiate the displays. It sees the same IDID UUID of the display and rearrange them randomly after each boot or sleep. You can tell whether you are in this group by running the terminal command:
Code:
ioreg -l | grep EDID
and verifying that your monitors have the very same EDID UUID (last line of the output for each monitor).

Typical workarounds for the latter include using different connections for each monitor. Yet, this is not viable in some workflows and/or situations, which unfortunately is my case.

This is a long running issue that Apple either cannot address or does not bother to do so, which really frustrates anyone who is genuinely trying to adopt its ecosystem (by choice or by need - e.g. workplace, development requirements, etc).
After following this for more than two years and going through a number of MacOs versions, I genuinely believe Apple will never address it since those affected are not a large portion of its regular user base. Thus, I grew used to lose a minute or two three times a day when I have to work on my Mac. Although this seems a minor price to pay, as suggested by Fulles2000 post above, which I quote:

To be honest I wouldn't let it put you off. It's wrong for me about half the time I plug my monitors in. It is annoying but it takes about 30 seconds for me to rearrange my monitors and place my windows onto the correct monitor (I've had plenty of practice 😂). I shouldn't have to do this of course but compared to the productivity gain I get from having multiple monitors it's a tiny amount of time.

It is indeed a tiny amount of time but it is also a 3x daily thorn that drives me crazy every time I am punctured by it. Do not get me wrong, I wholeheartly agree with his post and rationale, but coming from an OS in which (1) this is not an issue and (2) problems usually get fixed by someone (distro maintainers, users, etc), makes me wonder why I have to put up with that daily dose of acute stress (other than being forced to do so).
I am sorry for not being able to provide a fix for this, but I will keep following this thread in the hopes that more creative minds could come up with a definitive workaround.
 
I’ve just read through this entire thread, and regularly experience both issues (displays switching places, and windows moving from display to display). I can confirm a few things:

- this issue is not unique to intel Macs vs silicon; I’ve had the problem for YEARS with a 27” iMac Pro. I assumed it was an undiagnosable hardware issue with the machine, so replaced it with a new Mac Studio. Same problem.

- the issue is not unique to people using identical external displays vs. different displays from differing manufacturers. I have a BenQ 27”, and Apple Studio Display, and an LG 27”.

- the issue is not solved by using different connection methods. My BenQ is connected HDMI, the Studio Display uses Apple’s supplied Thunderbolt cable, and the LG is USB3-to-DisplayPort.

- there are no longer any “Mission Control” settings on Ventura, so that fix won’t work either.

I generally leave my machine on all the time; but when it goes to sleep from inactivity, the displays swap around. The BenQ and LG are both rotated 90 degrees, so sometimes the login screen ends up sideways when the machine wakes. All three are set to ‘default’ resolution. Best option I’ve found is to block the displays from turning off at all, which isn’t the most energy-efficient solution, but seems to (mostly) keep the displays from swapping around.

I would love to see a definitive fix from Apple.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.