nextcloud / nextcloud/android

Impossible to cancel upload of large number of files without deleting app data

Open
#16,206 1 comment 2 reactions 0 assignees View on GitHub
0. Needs triage bug
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. Select a large number of files to upload, e.g. few thousand.
2. Go to upload file list to try to cancel the upload.
3. The list takes ages to load and makes the UI mostly unresponsive. Clicking on the big X does nothing. Clicking on X on individual files either does nothing or reacts after a few minutes.
4. Due to the above it's impossible to cancel the upload, which also means unable to upload new files. Only clearing app data resolves the issue.

### Expected behaviour

The uploading files list should not be rendered all at once, but lazily loaded. The UI should be responsive to the user.

### Actual behaviour

The app UI is frozen making any actions unavailable.

### Android version

16

### Device brand and model

Galaxy Fold 5

### Stock or custom OS?

Stock

### Nextcloud android app version

3.34.1

### Nextcloud server version

32.0.3

### Using a reverse proxy?

Yes

### Android logs

_No response_

### Server error logs

```bash

```

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