new media view stalls the UI when launched
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### Steps to reproduce
1. Go to the hamburger menu
2. Open the media view
3.
### Expected behaviour
- pictures should be visible instantly, at least those on the device, better at least all that are already known to the client since they have been loaded before
- "gathering pictures" or similar should be shown if pictures cannot be shown instantly, e.g. first start-up and no local pictures.
### Actual behaviour
- The UI stalls for more than 15 seconds
### Environment data
Android version: 12
Device model: Pixel 4a
Stock or customized system: stock
Nextcloud app version: 3.20
Nextcloud server version: 23.0.4
Reverse proxy: apache
### 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
Assessment
This issue has not been assessed yet.