nextcloud / nextcloud/android

Autoupload directory selector hangs

Open
#12,772 0 comments 0 reactions 0 assignees View on GitHub
bug feature: auto upload hotspot: larger folder handling
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. Go to Autoupload settings
2. Select change remote/destination directory
3. Go to directory that contains large amount of pictures and videos (52GB in total)
4. Nextcloud app hangs (probably trying to load all the images to show preview of them)

After selecting "[Smartphone]" (on main screen but same thing happens in autoupload directory picker), waiting over 5 minutes does nothing:
![signal-2024-03-31-151540_002](https://github.com/nextcloud/android/assets/18705953/535de72f-53a6-4bfe-a45f-4cae8269059b)

### Expected behaviour

App should not load files only directories when selecting new directory for autoupload feature.
It could be entire different problem than loading large directory.

### Actual behaviour

When I try to change autoupload destination directory to where I have my photos and videos app hangs.
I think that same thing happens when I try to browse my photo directory from main screen in Nextcloud app.
So this is kind of double bug report.

### Android version

12

### Device brand and model

Samsung Galaxy S10

### Stock or custom OS?

Stock

### Nextcloud android app version

3.28

### Nextcloud server version

Nextcloud Hub 7 (28.0.4)

### Using a reverse proxy?

Yes

### Android logs

_No response_

### Server error logs

```bash
No errors afaik
```

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