desktop
desktop copied to clipboard
[Bug]: "New folder" appears after creating and renaming new folder
⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a bug, not a question or a configuration issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct
Bug description
Most of the time, when I create a new folder in a Nextcloud location, I right click, Create, Folder. And then I type the name of the folder. However, since Nextcloud starts syncing at that moment, two folders end up appearing, one with the name I wrote, and another one with just "New Folder", which I have to manually delete every time.
My files are in an external storage via SMB, and the client is in a Windows 10 machine.
Steps to reproduce
- Right click on an empty space in a folder
- Select Create, and Folder
- Type the name of the folder
- Wait a moment for Nextcloud to syncronize ...
Expected behavior
Nextcloud should have synced the newly created folder with the chosen name. Instead, it syncs that folder, and another one called "New Folder".
Which files are affected by this bug
Any folder created in Nextcloud
Operating system
Windows
Which version of the operating system you are running.
Windows 10
Package
Other
Nextcloud Server version
24.0.2
Nextcloud Desktop Client version
3.6.0
Is this bug present after an update or on a fresh install?
Fresh desktop client install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Nextcloud Server logs
No response
Additional info
No response
this is a known issue sorry
Related: #3513 & #5420
For your information, it's the same thing with a file that you copy and rename just after. After this operation, you have three versions: the original, the copy with the name you changed and the third copy is the original name with "- Copy"
We do have the same issue now with 3.10.4 and NC 26.0.11.
For some reasone we have not encountered this for the last year although heavily using NC on enterprise scale.
Also I think it's only happening in Group folders. @Mika-6-9 can you confirm this?
Regards
Rob
Hi,
I can confirm this bug with NC 28.0.2 and Windows 11 and NC Client 3.12.0 and Group Folders. It happens when creating a new folder (by the time you rename it a new "new folder" has been created) or when renaming a folder you just created as "new folder". The folder get renamed but it creates a new "new folder" ... If you wait like 10 minutes and do rename one of these "new folder" folders, no problem, renaming occurs flawlessly. Weird. It happens to admins and regular users but not on all instances, I have one where it does not happen (but clients are Macs) and one instance where it does happen on 2 different PC's (on different networks) and on a Mac (Sonoma and NC client 3.12.0).
Pierre.
We do have the same issue now with 3.10.4 and NC 26.0.11.
For some reasone we have not encountered this for the last year although heavily using NC on enterprise scale.
Also I think it's only happening in Group folders. @Mika-6-9 can you confirm this?
Regards
Rob
Hi.
Difficult to say, since it's not every time that the problem occurs and I hardly ever work outside of Group folders.
But actually, it doesn't seem like we have this problem outside of Group folders.
But actually, it doesn't seem like we have this problem outside of Group folders.
We are working on fixing it, but I was not able to reproduce this in non groupfolders. It seems it only happens on group folders and on Windows. is that the case for everyone?
@camilasan I did only observe this in groupfolders, but on multiple systems, nextcloud versions 27 and 28, clients on Windows and MacOS.
Hi.
In addition we can observer a second behavior which might be connected.
Renaming folders (in group folders) sometimes lead to duplication.
Far less easy to reproduce than then "new folders" issue but I got the feeling there is the same unerlying issue.
Does someone else observe the same?
Regard
Rob
Hi. I just had the problem in a folder that is not a groupfolder.
I'm getting this bug as well, specifically in a mounted SMB external share, not a group folder, and only for files. Folders do not duplicate when renamed, they just revert to their original name. A second attempt at either succeeds. It's very strange. My full notes are in https://github.com/nextcloud/desktop/issues/3513#issuecomment-1995614647