Title: macOS Sequoia: Recursive “Remove Downloaded Items” is incomplete and “Remove Download” is missing for some files
Description
With the macOS File Provider integration, selecting “Remove Downloaded Items” on a folder only evicts some descendants. Other files remain stored locally.
For some of those remaining files, the individual “Remove Download” action is not offered at all, although the files are fully uploaded, fully downloaded and not marked to be kept downloaded.
Environment
- macOS Sequoia 15.7.x
- Nextcloud Desktop Client 34.0.1
- Nextcloud Server 33, hosted on Hetzner Storage Share
- File Provider / virtual files enabled
Steps to reproduce
- Make a folder and its contents available locally.
- Wait until the client reports that synchronization is complete.
- Select “Remove Downloaded Items” on the folder.
- Inspect its descendants afterward.
- Open the context menu of files that remain locally available.
Actual result
Only some descendants become dataless placeholders. Other files remain downloaded.
For some remaining files, “Remove Download” is available and works when selected individually. For other remaining files, the action is completely absent.
For one affected file, fileproviderctl evaluate <file> reports:
isDownloaded = 1
isUploaded = 1
isDownloading = 0
isUploading = 0
isKeepDownloaded = 0
displayEvict = 0
displayEvictDescendants = 0
The file is therefore uploaded, locally materialized and not pinned, but Nextcloud suppresses the eviction action.
Expected result
“Remove Downloaded Items” on a folder should recursively evict all uploaded and unpinned descendants. Every locally downloaded, uploaded and unpinned file should offer “Remove Download”. If eviction is impossible, the client should display the affected file and a meaningful error instead of silently completing only part of the operation.
Workaround
Resetting the complete File Provider domain recreates the files as dataless placeholders, but this is not practical for routinely archiving individual folders.
This may be related to or a regression of #7832 and the File Provider eviction changes introduced in 33.0.5.
Title: macOS Sequoia: Recursive “Remove Downloaded Items” is incomplete and “Remove Download” is missing for some files
Description
With the macOS File Provider integration, selecting “Remove Downloaded Items” on a folder only evicts some descendants. Other files remain stored locally.
For some of those remaining files, the individual “Remove Download” action is not offered at all, although the files are fully uploaded, fully downloaded and not marked to be kept downloaded.
Environment
Steps to reproduce
Actual result
Only some descendants become dataless placeholders. Other files remain downloaded.
For some remaining files, “Remove Download” is available and works when selected individually. For other remaining files, the action is completely absent.
For one affected file,
fileproviderctl evaluate <file>reports:The file is therefore uploaded, locally materialized and not pinned, but Nextcloud suppresses the eviction action.
Expected result
“Remove Downloaded Items” on a folder should recursively evict all uploaded and unpinned descendants. Every locally downloaded, uploaded and unpinned file should offer “Remove Download”. If eviction is impossible, the client should display the affected file and a meaningful error instead of silently completing only part of the operation.
Workaround
Resetting the complete File Provider domain recreates the files as dataless placeholders, but this is not practical for routinely archiving individual folders.
This may be related to or a regression of #7832 and the File Provider eviction changes introduced in 33.0.5.