Here’s a tiny stripped down project which does this:
- Window1 is not visible in the IDE
- In App.Open, timer.CallLater(1000, window1.Relocate)
- Window1.relocate() sets the bounds to the 2nd monitor
- then shows the Window
It works as expected for me (Xojo 2024r2.1, macOS 14.7, 2 monitors) showing this in the Messages pane:
3:47:16 PM : windowLocation Launched
: Window1.Opening
3:47:17 PM : Window1.ScaleFactorChanged
: Window1.Moved 2560,28
: Window1.Resized 2560x1412
: Window1.Paint
Curious if you can try this and see what’s different?
windowLocation.zip (6.3 KB)