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.)
I paused OneDrive syncing and it is not reselecting. I will resume syncing after I change the name
I have an open case with OneDrive support and have just supplied them with a screen capture of the issue (as requested by them). I also sent them a link to this. Will update here on what happens with the case.
I've been having this issue for years and its lowering the productivity enormous... What is Microsoft doing? This must be fixed...
I'm on a mission to get this to 1000 votes. Who's in?
Still an issue in 2020. Poor form.
David Sheridan commented
Why is this **** still happening two years after being highlighted here? Perhaps we--the users who pay for the software--could work out who is head of whatever department should be fixing it and hold them accountable more directly, since asking Microsoft to fix it is clearly a waste of time.
Renaming files is such a basic and important feature that I (and many others!) need to use multiple times a day. This bug makes it a total nightmare and time waster.
How has this not been fixed yet???
A simple bug from Microsoft that remains open for years. Why am I not surprised? They are too busy building the next new burning platform.
Lee White commented
The most irritating and annoying thing that serves no purpose other than to waste my time and frustrate me every time it happens (which is a lot). Please fix this asap.
I can't believe this is still an issue after so many years. FFS stop adding new features and fix the basic ones we all NEEEEEEEEEEEEEEEEED
O'my heck. I have been fighting with this on a current project. I thought it was some new "bug" in windows. Now I see it just happens on OneDrive. Not Dropbox, Not Sync.com, not files that are only local.
I just recently started experimenting with OneDrive. Finally got tired of fighting with MS Word that wanted to always save on the internet rather than local drive and got that disabled.
And, this bug has been out there for at least 2 years???
Found solution. Move files out of OneDrive and disable OneDrive
Jessica Burruss commented
I literally spend over half of my day naming and renaming files so this annoyance has increased my frustration and work load dramatically. How is this so hard to fix? Or is anyone even trying?
likewise - please fix this. This is incredibly infuriating when trying to work!
That guy. commented
The only workaround I have seen is being fast.
You select the file name, hit "home" to get to the start, then type in space. As soon as you have STARTED editing, it does not re-select everything.
I am guessing t his has to do with the network updating the file info and, as a default, selecting the entire name. Once you have started to edit it, it does not refresh until you are done.
The only reason I hit "home" is because it is easier than selecting carefully with the mouse and then trying to type ASAP, although I think you can insert a space quickly if you want to...
I just tried it and it works. Select your spot and hit space bar immediately.
Marko O commented
Same Problem here, greetings from Germany!
Internet is full with Threads of these problem.
Would be great if windows can fix this!
Sean Elliott commented
I cannot believe this has not been fixed yet. It's been an issue for the 4 years I've been using OneDrive. Can someone at MS please fix this, it's embarrassing
Has been an issue for several years on several computers for me and continues to be. So sad I'm still paying for the worthless service. Maybe time to switch to something more productive.
Mateo Cortes commented
please fix this!