Open Torguen opened 2 months ago
Can't replicate, it stays in the same position for me when switching, are there any further steps beyond just scrolling and switching tabs? (On Win11)
It could be due to some editor option, I have changed several things. I have these two files in roaming -> godot folder
Try by changing the settings instead to pin down if it happens with some or others specifically
This is the related option, if I deactivate it the problem does not occur. This option is not being taken into account and is causing the problem. I seem to remember that it also happens in 3.x
Still can't confirm with that setting set to that, so something specific about your code that triggers this in that case
If I share the script, can you try it?
Sure!
Distraction-free mode must be activated
Can replicate with the specific case where the window is at the very bottom of the text, then it will move up slightly
Tested versions
v4.3.stable.official [77dcf97d8]
System information
w10 64
Issue description
Watch the video, every time I switch between the 2D editor and the script editor I have to reposition the scroll in the script editor. When I switch to the 2D editor and back to the script editor, Godot moved the scroll in the script editor and now I have to reposition the scroll in the script editor to have it the way I decide.
https://github.com/user-attachments/assets/7f09127d-0638-420e-8a0c-15fadf226f15
Steps to reproduce
watch the video
Minimal reproduction project (MRP)
...