The bug
It appears that the launcher forgets where it was last positioned when restarting the operating system / shutting down the PC. When the PC is then started again, the launcher window will always be in the top left corner.
Environment
Windows 10, Version 1909
Reproduction steps
Move the launcher window to the middle of the screen
Close the launcher and reopen it
✔ It remembered its last positionRestart your PC
Open the launcher
❌ It is in the top left corner again
Linked issues
relates to 1
Comments 3
I am currently experiencing this on macOS using launcher version 777. I don't know how useful this information is to you (in the sense I assume you don't directly interact with Cocoa to create the window on macOS but rather do it via a 3rd party mechanism), but here are the relevant NSUserDefaults key-value pairs for the Minecraft Launcher.
Here's the main window position key-value pair:
❯ defaults read com.mojang.minecraftlauncher NSWindow\ Frame\ MinecraftLauncher_launcher
100 567 1000 628 0 0 2048 1255
After moving the launcher from the top-left of my screen (where it starts) to the bottom-right, proving it updates:
❯ defaults read com.mojang.minecraftlauncher NSWindow\ Frame\ MinecraftLauncher_launcher
1030 113 1000 628 0 0 2048 1255
But then after closing and re-opening the launcher, it reverts:
❯ defaults read com.mojang.minecraftlauncher NSWindow\ Frame\ MinecraftLauncher_launcher
100 567 1000 628 0 0 2048 1255
Other key-value pairs:
❯ defaults read com.mojang.minecraftlauncher NSWindow\ Frame\ NSNavPanelAutosaveName
668 627 712 448 0 0 2048 1255
❯ defaults read com.mojang.minecraftlauncher NSWindow\ Frame\ MinecraftLauncher_log
100 567 1000 628 0 0 2048 1255
❯ defaults read com.mojang.minecraftlauncher NSNavPanelExpandedSizeForOpenMode
{712, 448}
Could you clarify what OS please?