Did a bit more testing myself on this (as it still happens to me on latest version of Win10), and it seems that it can be replicated by resizing the window manually and stretching it to within 10px of the left side of the main monitor (but not touching the edge), then closing the window. On reopen, it’ll reopen to the last size the launcher was before closing, but on the left-most second monitor rather than the main monitor it was closed on. The launcher doesn’t have to be maximized for this to be replicable.
My guess here is that the function reading monitor size and position before saving it is mistaking origin of one monitor as origin of the entire viewable desktop if it happens to be within a certain margin of error.
This can be temporarily solved by one of two methods:
Use the right-most auto-sizing window function by moving the launcher to the right edge of the main monitor, close the launcher, then reopen it. It can now be resized (but not maximized) and it will save its position on the primary monitor ONLY if you don’t resize the left edge of the window too close to the left edge of the primary monitor.
Deleting the launcher_pos registry key value in HKEY_CURRENT_USER\SOFTWARE\Mojang\Minecraft Launcher via the registry editor. On relaunch, the launcher will open at default size on the primary monitor. Same restrictions as method 1 applies.
Did a bit more testing myself on this (as it still happens to me on latest version of Win10), and it seems that it can be replicated by resizing the window manually and stretching it to within 10px of the left side of the main monitor (but not touching the edge), then closing the window. On reopen, it’ll reopen to the last size the launcher was before closing, but on the left-most second monitor rather than the main monitor it was closed on. The launcher doesn’t have to be maximized for this to be replicable.
My guess here is that the function reading monitor size and position before saving it is mistaking origin of one monitor as origin of the entire viewable desktop if it happens to be within a certain margin of error.
This can be temporarily solved by one of two methods:
Use the right-most auto-sizing window function by moving the launcher to the right edge of the main monitor, close the launcher, then reopen it. It can now be resized (but not maximized) and it will save its position on the primary monitor ONLY if you don’t resize the left edge of the window too close to the left edge of the primary monitor.
Deleting the launcher_pos registry key value in HKEY_CURRENT_USER\SOFTWARE\Mojang\Minecraft Launcher via the registry editor. On relaunch, the launcher will open at default size on the primary monitor. Same restrictions as method 1 applies.