nextcloud / nextcloud/desktop

[Bug]: Applications stops responding when syncing virtual files

Open
#9,242 2 comments 1 reaction 0 assignees View on GitHub
0. Needs triage bug
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

Syncing a file while using Virtual Files causes the application to lock up. The only way to recover is to delete the settings as force closing the client and reopening it automatically tries to sync again.

### Steps to reproduce

1. After logging in select `Add Folder Sync Connection`
2. Select the root folder for `Select a remote destination folder`
3. Ensure `Use virtual files instead of downloading content immediately` is enabled before selecting `Add Sync Connection`
4. Find a file using File Explorer, right click and select, `Always keep on this device`, the client freezes.

### Expected behavior

The file to sync and not lock up the client...

### Which files are affected by this bug

All

### Operating system

Windows

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

Windows 11

### Package

Official Windows MSI

### Nextcloud Server version

32.0.2

### Nextcloud Desktop Client version

4.1.0 alpha (20251214)

### 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
- [x] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other

### Nextcloud Server logs

```shell
The downloaded log from `/settings/admin/logging` isn't showing any entries from times during the issue even though the viewer does... Unless I can find some other way of retrieving the logs I don't know how to share them.
```

### Additional info

I attempt to run the program with `--logwindow` since I can't use the `Create Debug Archive` option with the entire client locked up. But no logs appear under the `Nextcloud-logdir` folder.
The client logs are from the roaming folder.

[20251214_1414_nextcloud.log](https://github.com/user-attachments/files/24150485/20251214_1414_nextcloud.log)

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.