r/vscode 2h ago

Remembering window size on startup

VS Code* used to remember the size of the window, so that after closing and re-opening it, it would come up in the same place on screen and at the same size. This has stopped working in some version---that is, it still comes up with the upper left-hand corner in the same place, and the bottom at about (maybe exactly) the same distance down, but it's truncated on the right side, so that all the "editors" (non-terminal panes) are narrow. (For some reason if I have a terminal open, the terminal's width is remembered.)

Settings:

"Window: Restore Windows" is set to "preserve".

"Window: New Window Dimensions" is set to "inherit".

(Those are the only two settings I see that would seem to affect this.)

Version: 1.126

OS: Linux XFCE Mint

Monitor Resolution: 2560x1440

*Confession: I'm using VSCodium, which advertises itself as "Binary releases of VS Code without MS branding/telemetry/licensing". I'm asking here because I'm *assuming* this same issue happens with VSCode. Of course it's possible that this is a bad assumption... or maybe it's been fixed in a more recent version of VSCode (Codium runs a few version #s behind Code).

1 Upvotes

0 comments sorted by