[Bug]: Upload triggers folders duplication only in macOS Finder
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 123
Description
### ⚠️ 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](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)
### Bug description
Since updating from `v4.0.2` to `v4.0.3`, some folders are being duplicated on the macOS desktop app using VFS. For instance, the folder `Figures` shown is found on the server, while `Figures 2` is not and was created after I uploaded a couple of small files to `Figures`. `Figures 2` is empty while `Figures` is populated, though all the folders inside `Figures` also got duplicated, but not the files within.
### Steps to reproduce
1. Upload files to a folder `test`
2. `test` is duplicated as `test 2`, and all of the folders inside are also duplicated, but not the files
3. The folder `test 2` does not appear on the server, only on the Finder with the macOS app with VFS enabled
### Expected behavior
Upon upload, the macOS app should not be duplicating folders.
### Which files are affected by this bug
Any
### Operating system
macOS
### Which version of the operating system you are running.
macOS 26.1 Tahoe
### Package
Official macOS Virtual files 12+ universal pkg
### Nextcloud Server version
32.0.3
### Nextcloud Desktop Client version
4.0.3
### Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.16.1 to 3.16.2)
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### Are you using an external user-backend?
- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
```shell
No log entry.
```
### Additional info
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.