nextcloud / nextcloud/desktop

File provider does not enumerate

Open
#10,016 2 comments 0 reactions 0 assignees View on GitHub
1. to develop bug feature: :file_folder: file provider os: :apple: macOS
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 have searched for 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

When using the Nextcloud Desktop Client on macOS with the virtual files location under CloudStorage, folder loading in Finder is inconsistent. Sometimes newly opened folders load normally, and if I open several new folders in a row, all of them load correctly. However, most of the time this does not work at all, and then no newly opened folder loads in Finder.

In the failing state, even if I open multiple folders one after another, none of them display their contents. The folders show the cloud status icon in Finder, but the files inside are not loaded and Finder keeps showing the loading indicator instead of displaying the folder contents.

Image

Cloud icon shown on affected folder while contents do not load:
Image

Once a folder has loaded successfully, it usually works normally afterwards and does not need to be loaded again. The same Nextcloud account works without issues on my Windows PC, so the issue appears to be specific to macOS virtual files, Finder, or the file provider integration.

### Steps to reproduce

1. Open the Nextcloud location in Finder.
2. Open a folder that has not been opened before.
3. Sometimes the folder loads normally, and additional newly opened folders also load normally. But in many cases, once the problem appears, no newly opened folder loads anymore, even if several are opened one after another. Finder keeps showing the loading spinner, the folders keep the cloud icon, and no files appear.

### Expected behavior

New folders (not opened before) in the macOS virtual files location should load reliably whenever they are opened in Finder. Finder should display the files after a short loading period instead of getting stuck in a loading state.

### Which files are affected by this bug

Folders

### Operating system

macOS

### Which version of the operating system you are running.

macOS 26.4.1

### Installation method

Official Installer for macOS 13 and later

### Nextcloud Server version

32.0.6

### Nextcloud Desktop Client version

33.0.4

### Did this occur after an update or on a clean installation?

Clean desktop client installation

### Are you using the Nextcloud Server Encryption module?

No

### Are you using an external user-backend?

- [ ] Default internal user-backend
- [ ] LDAP or Active Directory
- [ ] SSO - SAML
- [ ] Other

### Nextcloud Server logs

```shell

```

### Additional info

I anonymized the debug logs and removed one file for privacy reasons. Hopefully, all important information is still present.

[debug.zip](https://github.com/user-attachments/files/27605616/debug.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.