godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.1k stars 69 forks source link

Restore editor window size and position between sessions #8358

Open saminton opened 9 months ago

saminton commented 9 months ago

Describe the project you are working on

Concerns the editor's behaviour and is not project specific.

Describe the problem or limitation you are having in your project

I work with a big monitor and I much prefer using a split view, with Godot editor on the left and a code editor (either the built in, or external) on the right. Currently opening a project or simply reloading the project will reset the Godot editor window to fill the entire screen.

I am using macOs so this may be a mac only issue.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Considering that things like @tool require a reload, crashes are still pretty common and the editor slows down after time and frequently requires a reload, it become very tedious having to replace the window each time.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Opening Godot should restore the previous window size and location when opening or reloading a project.

If this enhancement will not be used often, can it be worked around with a few lines of script?

This should be native behaviour and not require a plugin.

Is there a reason why this should be core and not an add-on in the asset library?

This is the default behaviour for any other application on mac or windows.

Calinou commented 9 months ago
Shigewara commented 9 months ago

I use windows 10.

Yes, I really need this. Every single time I relaunch my project it starts with me either moving the entire window from my first monitor to the second, then resizing the project window to my preferred size. Or when only using one monitor just the resizing of the window.

AdriaandeJongh commented 8 months ago

Just wanted to leave a big +1 here. I have an ultra widescreen monitor and second monitor, so Godot opening in full screen is a silly exercise in window resizing every time.

I'm not a fan of making this project specific because regardless of opening project A or B, my monitor setup and therefore my window management isn't necessarily different.

zsolczai commented 6 months ago

This! One thing I dig about Godot is the speed at which you can work vs UE and others. This nonstop repositioning is tedious especially with task specific monitor setups.

Calinou commented 6 months ago

@zsolczai Please don't bump issues without contributing significant new information. Use the :+1: reaction button on the first post instead.

m21-cerutti commented 1 month ago

Something that I would like also is to remember the screen where it was (even more if it was maximised). And have some guards. I frequently switch my screen disposition and godot options for choosing is quite static to the current disposition I am in. Just moving and save it until I re-move would be a better UX.

Also would be better to save float windows disposition, where I have my scene on one screen and code editor on the other. Maybe with this change we don't need anymore the EditorScreen option.

image

Little precision, I'm on Windows 11.