I have Opus set to open on the right third of my monitor. If I minimize the Opus window and the monitor goes to sleep, I return to my computer and move my mouse or tap any key on the keyboard, the Opus window opens up somewhere else on my monitor. I do use WindowManager to organize locations for other software to open, but I have disabled that to ensure it's not causing this issue and it's not. I don't know if my monitor type matters, but it's a Samsung G95NC. I'm running the latest Opus beta available, but this issue has been happening for awhile.
That sounds like something Windows does, not Opus itself doing anything. It should happen to all windows left on that monitor.
Windows will move windows to another monitor if they’re on a monitor which is removed.
But I only have one monitor. Are you saying that it's still a Windows 11 bug?
Oh, I see. Maybe Windows thinks the monitor is resizing.
What happens to other windows left in the same place? Try with something like Task Scheduler which is built-in to Windows and still has a standard window frame.
Try without the custom window manager, too. It could be something it is doing.
I tried your suggestion of minimizing the task manager window, resizing the window, and moving it to another location. Then allowing my monitor to go to sleep. When I returned to my computer and restored the task manager window, it opened in the same location as I placed it and the window was the same size as what I changed it to. WindowManager is not running as I have closed it during this test as I did during the previous test with Opus.
Have you or anyone else been able to duplicate this issue?
No. To me, your problem sounds more like a buggy GPU driver, or some other hardware that maybe can't handle the C-states the BIOS tries to enter when going into sleep mode.