[Bug]: macOS VFS Client attempts to download all files from server when using disk space calculators
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 127
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
This problem specifically applies to the macOS VFS provider build.
When running a disk space calculation program like GrandPerspective on my mac, it starts scanning the disk and then screeches to a halt when reading `~/Library/CloudStorage/[the nextcloud folder]`, presumably because simply probing files for their size appears to trigger a download of the entire file. I do not see this behaviour while indexing the size of other cloud storage providers which I have installed on my computer such as Google Drive and OneDrive which leads me to believe something funky is going on with Nextcloud Client VFS
### Steps to reproduce
1. Install Nextcloud Client VFS build
2. Install GrandPerspective
3. Start scanning your Macintosh HD with GrandPerspective
### Expected behavior
The scan is fast and doesn't cause Nextcloud to download anything.
### Which files are affected by this bug
All Files
### Operating system
Mac OS
### Which version of the operating system you are running.
14.5
### Package
Other
### Nextcloud Server version
29.0.3
### Nextcloud Desktop Client version
3.13.0 VFS
### Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.4.2 to 3.4.4)
### 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
_No response_
### Additional info
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.