-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EditorFileDialog freezes the editor #65122
Comments
CC @RedMser |
Can confirm. Was missing a change in |
I'm seeing this behavior in Godot 4 Beta4 still.
Should I set up a new issue for this? |
@compmstr I can't reproduce on the latest master. Not sure how a relative path in the Looking at the code, it trims file extensions via (I really think this code needs some unit tests 😅 ) |
@RedMser I made a mistake with my original comment: there aren't relative paths in the
I'll try checking out your branch to see if that fixes it though. |
Ah I see. Well it found us another bug then, which is good to get fixed :D But in that case, I don't think this will fix it either. I'm on Windows, where absolute paths start with a drive letter, so this might only happen on Linux. I'll try to reproduce... |
Ah, I also just found out that it's any duplicate paths, with or without a trailing slash.
I see the same issue |
Godot version
v4.0.alpha.custom_build [8fa9d1a]
System information
Linux (Fedora 36)
Issue description
When opening a file dialog in certain projects the editor freezes while maxing out a CPU thread. It only happens if recent directories contains two of the same directory, one with a slash at the end and one without. Which is something that happens sometimes, I don't know if there's already an issue open for that or how to reproduce it.
From doing a
git bisect
this seems to be a regression caused by #63552. That PR involves somefor
loops so I think it's getting stuck in an infinite loop, but I couldn't figure out where.Steps to reproduce
.godot/editor/recent_dirs
file that will cause the bug)Minimal reproduction project
EditorStuck.zip
The text was updated successfully, but these errors were encountered: