-
-
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
"A file or folder with this name already exists" errors when renaming folder to a different name #82543
Comments
#75137 sounds like a potential culprit, but I didn't test a local revert to confirm. |
The actual commit that causes the issue is 1c3c17c by @Sauermann. Unfortunately, I don't have more time to think about why it causes the bug. But after a while of bisecting, it actually causes the bug. I leave the further work for you @akien-mga. |
This part seems to be this pre-existing bug report: #80940. |
I have tested this behavior (in a newly created project) and I was able to replicate this bug in v4.2.dev1.official [0c2144d] on Debian X11 Linux. #75137 got merged after dev1, so it is likely, that it isn't the cause of the problem. I did check this bug with previous versions and I found, that it got introduced between v4.1.dev4.official [5c2295f] and v4.1.beta1.official [828ec2c] |
Weird, I just downloaded https://github.com/godotengine/godot-builds/releases/download/4.2-dev1/Godot_v4.2-dev1_win64.exe.zip and tested it on my Windows 10, and the bug definitely did not occur. However, when I was bisecting the commit range from 4.2-dev1 to 4.2-dev5, 1c3c17c turned out to be the last bad commit. I took the time to revert it, fixed some compile-time errors, and then tested the code again before coming to a conclusion. |
I find it also confusing, that we come to different conclusions. If "single window mode" is on, then the bug starts appearing between v4.1-dev4 and v4.1-beta1 So I can confirm your bisection. |
More weirdness with the FileSystem dock that might be related to this. With the following setup:
|
The new mouse signal causes the following check to be ignored because none of them has godot/editor/filesystem_dock.cpp Lines 1731 to 1739 in 6916349
Perhaps, @Sauermann can explain why it does not have focus in Split Mode, especially in two different scenarios:
To address @akien-mga's second test with scene and icon: the godot/editor/filesystem_dock.cpp Lines 2011 to 2015 in 6916349
|
When renaming a file, a godot/editor/filesystem_dock.cpp Line 131 in 6916349
So the |
I'm seeing this pop up again in the latest 4.3 dev 6 [89850d5]. It's 100% reproducible on Windows 10 Pro. Happy to open as a new issue if we think it's unconnected to the previous causes. |
It was likely fixed by #91112, which was merged today. |
Godot version
Godot v4.2.dev (44e399e)
System information
Mageia 9 - X11 - GLES3 (Compatibility) - AMD Radeon RX Vega M GL Graphics (vegam, LLVM 15.0.6, DRM 3.52, 6.4.9-desktop-4.mga9) () - Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz (8 Threads)
Issue description
I have this simple setup, using Split Mode:
If I try to rename a folder (e.g.
player
) in the thumbnails view, a number of bugs occur:Start renaming with F2 or Right click > Rename
And a transient window elusive child error from that popup.
player2
), then confirm the change with the mouse:player2
), then confirm the change with the Enter:Some of these bugs seem specific to the Split Mode, but others seem to also happen in Tree view. It feels very buggy overall, it needs a thorough fixup pass.
Seems to be a regression which happened between 4.2-dev1 and 4.2-dev3. 4.2-dev2 is outright crashing on start so I can't test further. In dev1, I don't get the dialog about file name conflicts. I do get the weird behavior that editing a folder name enters the folder, and makes the selection out of sync in Split Mode, so that's a pre-existing and different bug.
Steps to reproduce
See above.
Minimal reproduction project
Reproducible in a brand new project.
The text was updated successfully, but these errors were encountered: