-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Renaming a file sometimes shows an error popup #90473
Comments
The The call stack for first The second, cc @Wiwip Any ideas? |
This seems to impact renaming through both the tree view and split views, looks like |
Bisected to 9240034 on Windows. Looks like there used to be a timer that would delay the call to This only explains why it occurs on Windows though, issue was reported for Linux. Looks like display_server_x11.cpp also uses |
I can still reproduce this on Linux in latest When renaming a script file to a new name, this dialog appears: The rename is still successful. |
So this report is a bit confusing, since:
We're going around in circles. Maybe we didn't need #91112 in the end and should just revert that one? CC @RandomShaper @KoBeWi @bruvzg |
#91112 fixes a few issues on Windows (including a crash), so it should be kept or superseded by a better fix. |
Even if the bug was fixed by tweaking the code before #91112, that PR lays out a more robust way of handling such issues. That said, I'm a bit puzzled about the issue having come back. Can you provide a stack trace at the point where the error dialog is triggered? |
The error probably means that we're sending the confirmation twice or more, so the rename logic is run multiple times. It's successful the first time, and subsequent times fail because the file already has the new name. I put a breakpoint on the warning:
|
Putting the breakpoint a bit further up, I can confirm that
|
I guess it's the opposite order of double event from what #91112 fixed, |
Also seems to be reproducible on macOS. |
Tested versions
can happen in v4.3.dev.custom_build [a7b8602]
System information
linux
Issue description
simplescreenrecorder-2024-04-10_10.10.52.mp4
Steps to reproduce
rename a file
Minimal reproduction project (MRP)
any
The text was updated successfully, but these errors were encountered: