Creating a new folder when there's already one with the same name using New+ results in some weird behavior #35179
Labels
Issue-Bug
Something isn't working
Needs-Triage
For issues raised to be triaged and prioritized by internal Microsoft teams
Microsoft PowerToys version
0.85.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
New+
Steps to reproduce
Add a folder, let's say "Folder" to the New+ templates, then use New+ to add this folder in any directory, then do it again in the same exact directory.
✔️ Expected Behavior
A new folder called "Folder (2)", just like how Windows does it by default.
❌ Actual Behavior
The first (original) folder's rename text bar appears as if it's a newly created folder, then the second folder is created inside that first folder.
2024-10-02.00-09-14.mp4
This doesn't happen with files (thankfully), but it appends " - Copy" to the end of the file, instead of Window's default method of appending "(2)" to the end.
There's also some weird behavior if you continue to test this bug. It's not destructive, but it isn't very pleasant.
I think this could be an easy fix, just search the directory for a file with the same name, and if so, append a suffix similar to what Windows does by default.
Hope this helps!
Other Software
No response
The text was updated successfully, but these errors were encountered: