-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reopen the run-windows at the last known position #4900
Comments
Note that the window size should also be remembered across runs in this case. Otherwise, the window could end up outside the screen bounds if you move a small window to the bottom-right corner of the screen. Unfortunately, this caveat can also make the feature confusing: changes to Test Width/Test Height will not apply anymore to your project if you've run the project at least once before. It's possible to remember only the window position (and try to move the window if it would end up outside the screen bounds), but people working on non-game applications may not be satisfied with this 🙂 |
Wouldn't it be possible to recycle an already existing run window? |
Restarting the project will kill the existing process and spawn a new one, so this isn't possible. |
Woudn't that (change to test height/width) constitute an acceptable case to reset the position/size of the run window ? |
yes, i think it would, because i change the Test Size only a few times at the beginning of development of a new project and then don't change it again. |
Describe the project you are working on
Godot Games
Describe the problem or limitation you are having in your project
Many developers do work with some sort of multi monitor setup, including me.
The setup and workflow is mostly as the following:
I explained it with the most useful desktop setup, but this improvement would also be very useful when working with 1 monitor.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
When hitting the (re)run button, the game window should reopen at the position it was put before.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
This could either be the default option, or this could be defined in the
Window Placement
editor options:If this enhancement will not be used often, can it be worked around with a few lines of script?
I don't think so (?)
Is there a reason why this should be core and not an add-on in the asset library?
Not an engine developer, but to me it just makes sense and would be overkill for this seemingly simple feature/improvement.
("Simple" for someone who knows the code base enough)
The text was updated successfully, but these errors were encountered: