godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.93k stars 21.15k forks source link

Poor performancy in the inspector tab #95370

Open TrueJole opened 2 months ago

TrueJole commented 2 months ago

Tested versions

System information

Godot v4.2.2.stable - Linux Mint 22 (Wilma) - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 6600 (amdgpu; 6.7.0) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)

Issue description

When I interact with anything in the inspector tab, there is pretty bad lag and context menus take at least 3 seconds to come up. This even happens in a practically empty scene/project. This is not always the case, but when it happens and I open a new project it still exists.

Steps to reproduce

Open new project, add control node for example, interact with eg. any dropdown many

Minimal reproduction project (MRP)

N/A

Calinou commented 2 months ago

Can you reproduce this after enabling Single Window Mode in the Editor Settings then restarting the editor?

Does this occur on projects that use the Compatibility rendering method?

TrueJole commented 2 months ago

No I can't reproduce it in Single Window Mode. If Single Window Mode is off and Compatibility Rendering is on it still occurs (It first happened to me on Forward+).

Also, whats the difference between Single Window Mode off and Multi Window enabled?

TrueJole commented 2 months ago

This still occurs in 4.3stable

Calinou commented 2 months ago

Also, whats the difference between Single Window Mode off and Multi Window enabled?

Multi Window allows splitting the script and shader editors to their own windows, as well as docks. Single Window Mode prevents this, and also forces tooltips/popups to be part of the main window instead of being separate windows.

If you disable both Multi Window and Single Window Mode, you won't be able to split editors to their own window, but tooltips/popups will still be their own window and will be able to leave the main editor window as a result (if they need to expand beyond its edges).

TrueJole commented 2 months ago

Thanks! Do you know why this might affect performance?