Closed as not planned
Description
Godot version
v4.1.1.stable.mono.official [bd6af8e]
System information
Godot v4.1.1.stable.mono - Windows 10.0.19044 - Vulkan (Compatibility) - NVIDIA GeForce GTX 1050 Ti (NVIDIA; 31.0.15.3203) - 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz (12 Threads)
Issue description
I'm making an Import/Export tool, and I need to select files.
Actually, I have folders with up to 10000 files, and when I open the folder, the game window will freeze.
Another folder with 3000 files works fine.
This is unusable and probably is caused by instancing so many "TreeItem" elements in the "FileDialog".
Please, don't hesitate to ask for more context or details, and/or performance profiling information (I don't know how to run those efficiently)
Steps to reproduce
Start with a fresh project
- Create a folder with 10000+ files in your filesystem (All files must use the same extension)
- Create a scene and add a FileDialog
- Adjust the FileDialog to filter by extension of choice
- Run the app, and navigate to the folder. Start scrolling down and it'll freeze the app window.
Minimal reproduction project
Use steps to reproduce.
Activity