nextcloud / nextcloud/android

Media does not respect .nomedia file recursively

Open
#12,322 5 comments 2 reactions 0 assignees View on GitHub
bug feature: media tab stable-3.26
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [X] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

1. Create folder
2. Place a file .nomedia
3. Create subfolder
4. Copy different pictures into both folders
5. Use the media screen
6. The pictures of the subfolder are shown

### Expected behaviour

The pictures of the subfolder should not be shown.
This behaviour of nextcloud is shown in Webbrowser.

### Actual behaviour

Pictures placed in subfolder are shown even with .nomedia file in parent folder

### Android version

8.0

### Device brand and model

Samsung Tab a

### Stock or custom OS?

Stock

### Nextcloud android app version

3.26.0

### Nextcloud server version

27.1.4

### Using a reverse proxy?

No

### Android logs

_No response_

### Server error logs

_No response_

### Additional information

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