How do I stop Godot from always opening projects in "Maximized" window?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Liquidream

Hi there,

Is Godot always supposed to open with a maximised window when you select a project?

It’s doing it on my machine (Windows, 4K HighDPI display) for both the regular and mono builds of Godot v3.4.4 and I don’t know how to stop it.

I’ve looked around the Preferences screens and can’t see an option to “Remember last window size” (which would be my preference). I’ve also searched here/online and can’t see anyone else reporting it, which makes me think I’m alone here?

Thanks in advance!

:bust_in_silhouette: Reply From: RaebaldKashban

This might not be what you’re looking for, but under Project > Project Settings > Display > Window there are fields that allow you to control how the project displays (i.e., fullscreen or not, borderless or not, etc.).

I’m not sure if Godot has onboard functionality for “remembering last window size”, but I suspect you could write a script to save that information to a resource file (or some other file format) and then reload/apply it on launch. Would kind of suck to have to do, but it’s an option. You should be able to manipulate project display settings from code (check out the documentation here: ProjectSettings — Godot Engine (stable) documentation in English )

Thanks, but it seems that’s more for the “run”/“build” output., rather than the actual Godot Editor (which is the Window that keeps maximizing on start-up for me).
I appreciate the help tho!

Liquidream | 2022-04-09 20:27

EDIT: issue posted on GitHub HERE for future reference

Apologies for the necro, just coming in new and experiencing this same behaviour on loading projects in editor (Godot 4.2.2 stable Win64). It’s only a minor nuissance but on extra wide monitor it’s a constant adjustment that needs to be made :stuck_out_tongue: Just curious if there is a setting in prefs I’m missing to toggle maximize on load or not or if there’s a setting within the build file itself to toggle this. Would appreciate any help if possible - thanks!