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
Godot version
v4.1.stable.official [970459615]
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 ofOpen my script -->
3.) Make the script editor floating 4.) Press CTRL + S to save