[Bug]: "available online only" and "free up local space" not available on hydrated files
- 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
I have a folder in nextcloud with subfolders for which all files are hydrated, but none are "always available locally", that is the files are on my computer and hydrated, but not pinned.
However, the nextcloud context menu has the options "available online only" and "free up local space" greyed out. There appears to be no way for me to ask the client to free up local space?
It seems to my that this is in error: the files are on my system, I don't want to delete them (because this would delete them online as well), but I have no way to reclaim the space and dehydrate the files, other than waiting for nextcloud to decide to free up space as needed.
### Steps to reproduce
On Windows 11, with an up to date nextcloud client installed and connected to an up to date nextcloud server running on Ubuntu, with storage in an Azure Blob storage mounted through blobfuse2 to the file system on the server (some /mnt).
1. Create a new subfolder in your nextcloud folder
2. Copy in a sizeable collection of files as well as files in subfolders
3. Wait for the synchronisation to complete
4. Right-click the top subfolder
5. Check the 'Nextcloud' options, "available online only" and "free up local space" appear greyed out
### Expected behavior
Under the same conditions, I would expect:
5. Check the 'Nextcloud' options, "available online only" and "free up local space" ought to be available (or at least "free up local space")
### Which files are affected by this bug
n/a
### Operating system
Windows
### Which version of the operating system you are running.
Windows 11
### Package
Distro package manager
### Nextcloud Server version
Nextcloud Hub 10 (31.0.6)
### Nextcloud Desktop Client version
3.16.6
### 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
- [x] Other
### Nextcloud Server logs
```shell
```
### Additional info
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.