nextcloud / nextcloud/desktop

[Qt6]Windows][Bug][[VFS]: When dehydrating, some files start to call the fetch data callback with Windows Cf API, this makes the client freeze

Open
#6,767 1 comment 0 reactions 0 assignees View on GitHub
1. to develop bug confirmed feature: :arrows_counterclockwise: sync engine feature: :minidisc: virtual filesystem
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

When dehydrating, some files start to call the fetch data callback with Windows Cf API, this makes the client freeze. This happens after building the desktop client with Qt6 and running it on Windows with VFS on. It does not happen every time.

### Steps to reproduce

1. Build a desktop client with VFS
2. Sync a folder with VFS
3. Make all files available locally
4. Free up the space (dehydrate placeholders)
5. Quite often you will encounter a freeze and in the logs, there will be a "Fetch data callback"
6. This Does not happen for the same folders if the desktop client is built with Qt5

### Expected behavior

Dehydration does not freeze the desktop cient

### Which files are affected by this bug

all

### Operating system

Windows

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

All Windows

### Package

Other

### Nextcloud Server version

all

### Nextcloud Desktop Client version

3.13.50

### 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
- [ ] Other

### Nextcloud Server logs

_No response_

### Additional info

_No response_

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.