Skip to content
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

Saving a scene with CTRL+ S while a floating script editor is focused changes focus to the main editor window #79294

Closed
xxSeys1 opened this issue Jul 10, 2023 · 1 comment
Labels

Comments

@xxSeys1
Copy link

xxSeys1 commented Jul 10, 2023

Godot version

v4.1.stable.official [9704596]

System information

Godot v4.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated AMD Radeon RX 6700 XT (Advanced Micro Devices, Inc.; 31.0.21001.45002) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

Issue description

When saving a scene with CTRL + S with a floating script editor window is focussed, the focus gets changed to the main editor window. This also means that all keyboard inputs made after saving will be broadcasted to the main editor rather then the script editor.
(Please note that there has to be a scene open that can be saved, if it's a script that gets saved then the issue does not happen)

I don't know if that is a bug or something "indended", but either way its bad because you have to re- focus the script editor window eacht time after you save.

Steps to reproduce

1.) Create a Scene and open it
2.) Create a script on a node in the scene
3.) Open the script
3.) Make the script editor floating
4.) Press CTRL + S to save
--> The script editor looses focus

Minimal reproduction project

ScriptEditorUnfocusMinRepProject.zip

1.) Open OPEN_ME__Scene.tscn
2.) Open the script of Open my script -->
3.) Make the script editor floating
4.) Press CTRL + S to save

@akien-mga
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants