godotengine / godot

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

Double-clicking a file updates whole FileSystem tree #99760

Open KoBeWi opened 3 days ago

KoBeWi commented 3 days ago

Tested versions

4.4 dev5 The relevant code seems to exist since forever, but I don't remember it being that slow before.

System information

Windows 10.0.19045 - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 32.0.15.6603) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 threads)

Issue description

When you double-click a file, the whole editor freezes for a couple of seconds. Also if you had anything in filter, it will be ignored. https://github.com/user-attachments/assets/7a9eb54b-8e0a-4345-9605-c878dc4f6e5e For some reason it might also unfold every folder.

I checked the code and double-clicking makes the dock navigate to the file, which causes update of the whole tree.

Steps to reproduce

  1. Open big project
  2. Double-click a file, preferrably image
  3. Image

Minimal reproduction project (MRP)

N/A

Mickeon commented 3 days ago

I don't recall anything like this. Is this a regression?

KoBeWi commented 3 days ago

Doesn't seem to happen in 4.3.