Open
Description
Tested versions
Reproducible in v4.4.1.stable.official [49a5bc7]
System information
Godot v4.4.1.stable - Windows 11 (build 26100) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 4060 Ti (NVIDIA; 32.0.15.7640) - Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (16 threads)
Issue description
When editing multiple scripts, it is expected that when you close script file in script editor, previously opened file displayed. It is true for user scripts, but have an issue if trying to open Godot class reference: when closing this help, editor can return to the script, that is 1 position above in the list of scrips on panel.
This is not a high priority issue but still somewhat annoying when opening class references frequently.
Steps to reproduce
- Open multiple scripts in script editor.
- Select non-first (not top) script in list.
- Ctrl-click on any Godot function to open class help reference.
- Close help window by shortcut or by right-click + "Close" in scripts list panel.
- Editor should open a script one line above the one you Ctrl-clicked for help from.
- If not reproduced - repeat from step 3 one more time. For me it is 100% reproducible on 2nd time, but rarely reproduced at 1st time.
Minimal reproduction project (MRP)
N/A