nextcloud / nextcloud/desktop

[Bug]: Newly shared folders should be DISabled by default

Open
#5,347 1 comment 0 reactions 0 assignees View on GitHub
0. Needs triage feature: :busts_in_silhouette: sharing
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

When a new folder is shared by someone, it's recognised and enabled by default in the desktop app. That way syncing starts immediately. If the shared folder is large, the local drive fills up without notice until the user can't work anymore, because no more disk space is available.

### Steps to reproduce

1. Share a large folder (mine was 4.7 TB)
2. Check the settings in desktop app: Folder is checked after detection
3. Hard disk fills up inevitably

### Expected behavior

After a newly shared folder is detected by the app, it shoud be added to the list disabled (unchecked).

A message to the user regarding the newly detected folder would be nice to have.

### Which files are affected by this bug

All files

### Operating system

Mac OS

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

12.6.2 Monterey

### Package

Appimage

### Nextcloud Server version

24.0.7

### Nextcloud Desktop Client version

3.6.4git (build 12826)

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

- [ ] 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.