Local file selector's slowly load didn't cancel after switched to another folder and showed after loaded
- Lingua principale
- Kotlin
- Stelle
- 5.6k
- Fork
- 2k
- Merge medio
- 2g 20h
- PR unite (30g)
- 105
Descrizione
### ⚠️ 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 a big folder that include lots of files (my is DCIM\Camera which contains 9707 pictures)
2. Create a small folder that include just some files (my is DCIM\ImageApp contains 32 pictures)
3. Click Add Button, Select Upload files from App and select big folder
4. During loading, navigate to small folder
### Expected behaviour
File selector show files in small folder.
### Actual behaviour
File selector show files in small folder for a while.
After big folder loaded it show files in big folder and top of the app still show small folder's name
### Android version
15
### Device brand and model
SAMSUNG Galaxy S22
### Stock or custom OS?
Stock
### Nextcloud android app version
3.31.3
### Nextcloud server version
Nextcloud Hub 10 (31.0.5)
### Using a reverse proxy?
No
### Android logs
[logcatOutput.txt](https://github.com/user-attachments/files/20562582/logcatOutput.txt)
### Server error logs
```bash
```
### Additional information
Reproduce Video Record
https://www.youtube.com/watch?v=DM-CgOd2lGs
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo la race condition con le cartelle grande e piccola fornite su Android 15, usando l’output di logcat e il video collegati per i dettagli sui tempi. Traccia i punti di ingresso della navigazione tra le cartelle e del caricamento del selettore di file locale, quindi verifica che un caricamento precedente non possa sostituire i file della cartella attualmente selezionata dopo la navigazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android, kotlin
- Ambito
- mobile
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100