cannot stop multiple files upload and app does not handle no space left on server
- 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 multiple files (about 500 photos in my case) and "share to nextcloud"
2. upload starts but never finishes
3. checkin in app, the available space indcator is red, but the app stubbornly tries to upload over and over again although all files now fail to upload
4. there's long list of pending uploads but it is impossible to cancel a single upload, let alone all
5. only way to solve is to kill nextcloud app, find it's hidden folder and delete all files to be uploaded
### Expected behaviour
1. recognize and deal apropriately with "no space left on server" -- after all the "space left" indicator DOES show that there's no space left, and yet the app does not use that info
2. do not attempt failed uploads over and over again -- "doing the same thing over and over again and expecting a different outcome is a sure sign of madness". Instead depending on the error either cancel all pending uploads (as in case of no space left -- if one file doesn't fit anymore, more than one file will certainly not fit either), or cancel after X attempts and log the file and error to be shown to the user with one or more options to deal with it
### Actual behaviour
App recognizes that there#S no space left, but stubbornly tries to upload nevertheless, repeating each failed file over an over again. There's no way inside the to cancel those uploads.
### Android version
13
### Device brand and model
OnePlus 9 Pro
### Stock or custom OS?
Custom (explain in "additional information")
### Nextcloud android app version
3.26.0
### Nextcloud server version
27.0.2
### Using a reverse proxy?
No
### Android logs
_No response_
### Server error logs
_No response_
### Additional information
Lineageos 20 with regular updates
Contributor guide
Assessment
This issue has not been assessed yet.