Every time, for the past few launches, even after resetting my computer, Minecraft keeps launching itself with the launcher window maximized in the wrong window screen. I have two screens and EVERY OTHER APPLICATIONS remembers which screen to open in based on where I move it and then close it. MINECRAFT DOES NOT!
I wouldn't care as much, it's just an annoyance, but it has persisted for quite a while now.
Linked issues
is duplicated by 5
Attachments
Comments 8
Hi!
Does this issue happen also with Java/Mc for windows?
Can you provide o video of this issue?
This ticket will automatically reopen when you reply.
It has nothing to do with Java or Minecraft for Windows, but the launcher itself. I attached a video of the issue; however, I can only capture the main screen, not the second monitor. Sensitive data and taskbar were obscured.
Hi again!
I was wondering, does this happen on Windows 10/11 version or 7/8 of the Launcher?
I still cannot reproduce this issue, when I move the Launcher window to the other monitor, after restart it boots up on the monitor i closed it on.
You are on Windows 10 right?
I think it might be some Windows option ("Make this my main display" option)
This ticket will automatically reopen when you reply.
Hi, I can still reproduce it exactly as showcased in the video on Windows 10 in 2.3.562 (New Windows App). The captured monitor is my "main display".
If I maximize the launcher and close it, it starts on my second monitor the next time. Only if I resize it, it stays on my main display the next time I start it. Nothing has changed from the video showing.
The repro steps from https://bugs.mojang.com/browse/MCL-12553?focusedId=627250&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-627250 work the same way here. It is not important that the launcher is full screen or maximized; it just needs to be close enough (or snapped) to the left edge of the right monitor (and "main display") to appear on the left screen the next time it is launched.
Same here, Windows 10 ver: 22H2. I noticed that though Windows numbered the monitors 1 (secondary on my left) and 2 (primary right in front of me) , the 2nd * is * check marked "Make This My Main Display" , and all my Steam games and other apps respect that, but not the Launcher, every single * fricken * time it loads up onto the secondary display.
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.
Also happens to me that it always starts on my second monitor, where I keep dragging it to the main screen, where I also end up closing the window. The next time I start the application, it appears again on the second screen.
A workaround is to drag the window to the smallest dimensions and then close it. Then it also starts as a small window again on the desired monitor (main screen).