godotengine / godotengine/godot

Considerable delay when changing 2D view -> editor script (with open doc)

Open
#90,333 3 comments 0 reactions 0 assignees View on GitHub
discussion needs testing performance topic:editor
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

v4.3.dev5.official [89f70e98d]

### System information

w10 64

### Issue description

When I switch between 2d -> script editor and the script editor is showing the godot documentation, there is a considerable delay.
This delay does not occur if what is displayed in the script editor is a script.

https://github.com/godotengine/godot/assets/19652075/2deb0b31-8212-4f19-adfc-e0af431e3ca2

### Steps to reproduce

Show documentation in script editor and toggle between 2d -> script editor

### Minimal reproduction project (MRP)

...

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the delay with Godot documentation open in the script editor, then compare switching from the 2D view to the script editor with a script displayed. Use the supplied video and tested version as the baseline. Done means the transition no longer has the considerable delay when documentation is open.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.