nextcloud / nextcloud/desktop

[Bug]: VFS - Excluded files should not have a right-click option.

Open
#9,395 0 comments 0 reactions 0 assignees View on GitHub
0. Needs triage bug feature: :minidisc: virtual filesystem os: :door: Windows
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

A file with an exclusion rule present in the exclusion file should not have any options available in the right-click menu (Free up space, etc.) in VFS mode.

I have an excluded file that was in "Syncing file" mode (I don't know why or how). I tried clicking on "Free up space," and it broke the synchronization of all my accounts (the message "Pending sync" is now permanently displayed).

### Steps to reproduce

1. Right clic on exclude file
2. Clic free up space

### Expected behavior

It is impossible to perform this action and for everything to go smoothly.

### Which files are affected by this bug

Excluded files

### Operating system

Windows

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

Windows 11

### Package

Official Windows MSI

### Nextcloud Server version

29

### Nextcloud Desktop Client version

4.0.4 and 3.16.4

### Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.16.1 to 3.16.2)

### Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

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

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

### Nextcloud Server logs

```shell
Related ? https://github.com/nextcloud/desktop/issues/6719
```

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