nextcloud / nextcloud/android

Large folder appears empty and does not load contents in app

Open
#6,233 26 comments 5 reactions 0 assignees View on GitHub
approved bug feature: files hotspot: larger folder handling performance: SBTBE/SQL related :file_cabinet:
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### Steps to reproduce
1. Have a large folder on your nextcloud server (in my case 40Gb of data in Photos Folder, a few 1000 files)
2. Freshly connect Android app to the server
3. Open the large folder inside the app

### Expected behaviour
- shows the contained data
- at least indicates that viewing such a large folder may take time
- behaves as the "Photos" view does: lazy loads data with instant feedback
- does not shock the user by saying "hmm your folder is empty", when in fact it contains 40 Gigs of valuable data ;)

### Actual behaviour
- App says the photos folder is empty (while showing, that it is roughly 40 Gb in size)
- as a consequence it is not possible to view the content of the folder
- but when viewing photos with the "Photos" view everything shows up just fine

### Can you reproduce this problem on https://try.nextcloud.com?
- didn't try, but seems reasonable to assume that this is not setup related

### Environment data
Android version: 9

Device model:
Mi Note 10

Stock or customized system:
MIUI11

Nextcloud app version:
3.11.1

Nextcloud server version:
18.0.4snap3

Reverse proxy:

### Logs
#### Web server error log
```
Insert your webserver log here
```

#### Nextcloud log (data/nextcloud.log)
```
Insert your Nextcloud log here
```
**NOTE:** Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

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.