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.)
[Deleted User] commented
Please fix this bug. Renaming a file 3 times is highly unproductive, not to mention highly frustrating.
This is the most annoying bug in the world to a power user of the OS, please sort it out MS.
Microsoft generally doesn't care if they can put the "check in the box" by the feature name. Don't hold your breath for a fix.
After searching for hours, I finally found the issue. This is SOOOO annoying!
This happens to me and it is very frustrating.
This is still very much an issue and still very frustrating!
This is really annoying! Please fix it!
My work laptop has my entire MyDocuments redirected to OneDrive so this happens with literally _every_ file - and most of the time when I go to rename a file. Very annoying!
I think it may be a Windows Explorer issue as there are pages talking about it from back in 2015 - but probably made worse/caused by syncing services like OneDrive (also affects Google Drive according to some other pages).
Please fix this asap!
I have "business" version of OneDrive which came with my Office subscription. There's nothing businesslike in this behaviour. I wonder how many collective useryears Microsoft feels their paying business customers should waste on this super annoying fault year after year.
S Petel commented
THIS IS SUPER ANNOYING! I thought I was the only one, but this has been going on forever on multiple computers.
Please fix it, it is very annoying and wastes a lot of time.
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.