-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Bug: Creating, renaming, or deleting an item causes Files to select additional items #11092
Comments
The naming issue has been fixed and will be included in the next update |
@Josh-65 does it fix the selection issue too? |
No. Not that ive seen anyway |
@Josh-65 I can't reproduce this anymore, can you check if it's still an issue? |
I'm still able to on v2.4.31.0. Not sure when building from source (kinda don't want to reinstall visual studio rn.) |
That might be why, I was testing in a folder with three items. |
It seems to be linked to a timing issue. When using breakpoints to debug, the issue seems to not reproductible. The selected additional items be are also consistent regarding to the renamed item. (I'm yet to find the logic behind) Might be linked to a fire and forget call, or an await that does not work properly. |
After a bit of testing, I've noticed this also happens with files, meaning it's most likely tied to general item events. Updated the title to reflect this. |
I managed to find a way to fix it! I will submit a PR later. |
@yaira2 You should probably unpin this |
Will do, thank you. |
Description
When creating a new folder and giving it a name (and using the preview version of Files), it instead makes a folder called "New Folder", and then selects other items.
Desktop.-.Files.2023-01-26.13-57-41.mp4
This issue is more apparent in bigger directories, as there's more files and folders to select.
Steps To Reproduce
Steps to fix
Files Version
2.4.24.0
Windows Version
Windows 11 22H2 22621.1105
Log file
debug.log
The text was updated successfully, but these errors were encountered: