nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.17k stars 1.75k forks source link

Android app is not loading thumbnail in Media. But.. #12153

Open alanbosco opened 10 months ago

alanbosco commented 10 months ago

⚠️ Before posting ⚠️

Steps to reproduce

  1. Uploads images to the server
  2. Open Android app navigate to 'Media'

Thumbnails for images or videos not being loaded. But

  1. Navigate to All files and browse the directory where you just uploaded
  2. Change the views to grid (thumbnail view)
  3. It will generate thumbnail
  4. Navigate back to Media

Now you can view the thumbnails.

Expected behaviour

Thumbnails should be able to preview.

Actual behaviour

Thumbnails are not being loaded. But on IOS this isn't a problem. Only on Android.

Screenshot_20231111-040146

Android version

14

Device brand and model

Pixel 8

Stock or custom OS?

Stock

Nextcloud android app version

3.26.0

Nextcloud server version

25.0.2

Using a reverse proxy?

No

Android logs

No response

Server error logs

No response

Additional information

Can update with logs if necessary.

Sacerdoss commented 9 months ago

Noticed this bug aswell today. Preview images are fetched and answered with status code 200 by the server. If you scroll down in the folder the images coming into view display the preview correctly and when you scroll up again the first images are showing the preview aswell.

Captaindraeger commented 8 months ago

Having the same issue in 3.27.0 on Pixel 6 pro. Using a very vanilla app install on Truenas Scale.

rafaelsms commented 4 months ago

Same issue in 3.29.0 from Google Play. Server is running Nextcloud 29.0.0 through All-In-One. Media previews in the web are fine. After noticing missing previews in the Android app, I tried "Previews generator" Nextcloud app, but the issue persists after generating all previews through that too.

Sacerdoss commented 4 months ago

I resolved the issue for my instance. I`m not quite sure which config change did the trick but i believe it was either using imaginary for preview generation or misconfigured trusted proxies (rate limit).

rafaelsms commented 4 months ago

I resolved the issue for my instance. I'm not quite sure which config change did the trick but i believe it was either using imaginary for preview generation or misconfigured trusted proxies (rate limit).

Thanks for sharing! The all-in-one already uses Imaginary so I'll look into the rate limit