[Bug]: Windows 11 Client Crashes When Opening Settings with Multiple Accounts or Sync Folders
- 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
After setting up multiple folder synchronizations (or adding multiple user accounts, each with one sync folder), the Nextcloud desktop client freezes and crashes when attempting to open the Settings window (not the status popup from the system tray, but the full Settings dialog)
By my research this occurs only when:
- More than one folder is configured for synchronization
- Two or more user accounts are logged in simultaneously (each with one or multiple sync folder)
Synchronization itself works correctly, and the client runs normally until the Settings window is opened.
### Steps to reproduce
1. Set up multiple folder syncs for a single user, or add a second user account (with at least one sync folder each)
2. Confirm that synchronization works and the client runs normally
3. Close and restart the Nextcloud desktop client.
4. Click on the system tray icon → select "Settings"
5. The application freezes and crashes immediately.
### Expected behavior
The Settings window should open reliably regardless of the number of synced folders or logged-in user accounts.
### Which files are affected by this bug
N/A
### Operating system
Windows
### Which version of the operating system you are running.
Windows 11
### Package
Official Windows MSI
### Nextcloud Server version
31.0.8
### Nextcloud Desktop Client version
3.17.1
### 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?
- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
```shell
```
### Additional info
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.