Windows on three monitors are all over the place when waking from sleep sometimes
Sometimes, when waking from sleep, windows are not on the same desktop or monitor that they were in before. I keep specific apps on specific desktops on each monitor.
I have 3 desktops per monitor and 3 monitors. One of the monitors is vertical, which is to the left of the two horizontal monitors placed one above the other. The vertical and top horizontal monitors are LG 27UN850-W, which are 27" 4K 60Hz. The bottom horizontal monitor is an LG 27GN950-B, which is 27" 4K 144Hz. However, windows are only displaced between the vertical and top horizontal monitors. They stay on the same desktop, but change monitors.
For example, Reminders are on desktop 1 of the left vertical monitor, Notes on desktop 2 of the left vertical monitor, folders on desktop 1 of the top horizontal monitor, and Safari on desktop 1 of the bottom horizontal monitor. Randomly, when waking from sleep, Reminders are on desktop 1 of the top horizontal monitor, Notes on desktop 2 of the top horizontal monitor, folders on desktop 1 of the left vertical monitor, and Safari is still on desktop 1 of the bottom horizontal monitor, where it should be.
This issue has persisted from Ventura to Sonoma. I've changed cables from HDMI to HDMI, USB-C to HDMI, USB-C to DisplayPort, and USB-C to USB-C. I do use the Rectangle App to easily move and organize windows, but the issue still persists when it is uninstalled.
Does anyone else have this issue? Has anyone found a fix? I'm not sure if it's a hardware or software issue.
MacOS Sonoma 14.2 (23C64)
M2 Ultra
Mac Studio, macOS 14.2