nextcloud / nextcloud/desktop

[Bug]: Main dialog shows incorrect information after linking folders when local copy of files already present

Open
#8,431 2 comments 0 reactions 1 assignee Claimed by @mgallien View on GitHub
bug os: :penguin: Linux
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

The main dialog shows incorrect information about number of files and time left:
Image

### Steps to reproduce

1. Back up sync folder to external drive (using `rsync`)
2. Wipe & reinstall OS
3. Copy back sync folder from external drive (using `rsync`)
4. Install Nextcloud Desktop
5. Authenticate in Nextcloud Desktop
6. Remove reminiscences of the old sync set-up from the sync folder (e.g. `.sync_27406f076ef0.db`)
7. Copy the folder configuration from the old config to the new config file (e.g. `/home/keunes/.config/Nextcloud/`)
8. Wait until sync kicks in

### Expected behavior

When checking existing files, it should probably not give estimations. After a while ('sync' is still running), those wrong fields are gone (it now only says "Syncing changes").

### Which files are affected by this bug

n/a

### Operating system

Linux

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

Ubuntu 24.04.2 LTS

### Package

Official Linux AppImage

### Nextcloud Server version

n/a

### 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 Enabled

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

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

### Nextcloud Server logs

```shell

```

### 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.