Bug: Explorer reselects entire filename when editing the name of a newly synced file
What's the Bug:
This bug causes File Explorer to select all the text of a filename you are editing while you editing it, which causes a single keystroke to erase the text of the filename if you are not paying attention.
When It Happens:
It happens when you immediately try to rename a file after performing a file operation but before the OneDrive client syncs it. For example, it happens if you copy a file and quickly rename it, or if you save a file and then quickly rename it. It appears as though Explorer incorrectly reselects the entire filename once it syncs the file.
Example Steps to Reproduce:
1. In Explorer, copy a file to a synced OneDrive folder. Let's say the filename is "book.txt".
2. Immediately after copying the file (before it is synced to OneDrive):
2a. Start to rename the file (e.g. press F2). (At first, the entire filename text is selected, such as "book".)
2b. Position the cursor at any single point in the file name (so the entire filename text is no longer selected). For example, place the cursor at the end of the filename so you can rename it to "book123456789".
3. Wait a second or two (presumably for the file to sync to OneDrive).
4. Explorer automatically reselects the entire filename. (If you were trying, for example, to append "123456789" to the original filename, you end up erasing the original file name after Explorer selects it and you press any key.)
Annoying bug. You must wait a while. But when occurs with round file synchronization bug then it is unable to rename file when sync utility (OneDrive) is running.
Same problem. Helps pausing synchronization or migration on Dropbox.
Fix this please!
this bug is destroying my work flow.
Amogh Jain commented
Yes its very annoying to rename files and folder structure in onedrive. Its a bug that requires some fixinggg!! you can hire me :-)
Manuel Fitz commented
This behavior is really annoying.
As elderry said, this also happens when other files are being synchronized.
Jason Doucette commented
This happens approximation once per second, even when OneDrive is shut off. I can select any file or folder, and as I move the cursor or start to rename it, it is interrupted by OneDrive (even when it's not running). This is a bug. We should not have to vote to have it fixed. It impedes attempts to merely organize files within the OneDriver folder structure.
Happens every time I create a new folder. I have to make several attempts to rename it because OneDrive keeps selecting the entire file name every 0.25 seconds while I'm still typing the new file name. Syncing should automatically pause while we're changing a file name. Alternatively, OneDrive should NOT immediately try to sync a new folder the second it is created. What's the point to syncing a new, empty folder?
In fact the renaming file and the syncing file doesn't have to be the same one. As long as I have many file that are syncing, I can't rename a file in OneDrive smoothly.
This I beleive is a Windows issue, which makes it even worse. Since I have this also often when working on network shares.
Fully support on this that MS needs to fix this.
CTRL + Z or "Esc" are your saviours if this has happened, but it is a needless waste of time.