[Bug]: Desktop client doesn't sync after unlocking a password protected drive
- 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
I notice that since a few versions, desktop client doesn't sync properly after unlocking a password protected drive (for example, after unlocking a password protected WD USB disk) which appears to be locked when Win10 boots up.
Other password-unprotected folders and disks are regularly syncing, instead.
In order to solve the issue I have to exit and restarting the client and everything runs fine.
I'm sure that, in the past (can't say when), when I noticed that a password-protected folder wasn't synced, simply unlocking that folder was enough in order for the client to automatically sync it, no need to force a resync or to restart the client.
Nextcloud Client desktop 3.15.3 running on Windows 10 pro syncing a NextcloudPI service.
### Steps to reproduce
1. Wait for Win10 boot and Nextclud client to be fully functional
2. Verify proper syncing of folders while a password-protected folder is still locked
3. Unlock the password-protected folder
4. Verify proper syncing of the unlocked password-protected folder
...
### Expected behavior
I expect to experience the previous and usual behaviour (automatic sync of folders unlocked after Nextcloud client start)
### Which files are affected by this bug
password-protected folders in external USB disks
### Operating system
Windows
### Which version of the operating system you are running.
Windows 10
### Package
Official Windows MSI
### Nextcloud Server version
NextCloudPi 28.0.14
### Nextcloud Desktop Client version
3.15.3
### Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.4.2 to 3.4.4)
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### Are you using an external user-backend?
- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
```shell
```
### Additional info

Contributor guide
Assessment
This issue has not been assessed yet.