android icon indicating copy to clipboard operation
android copied to clipboard

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

Open alanbosco opened this issue 1 year ago • 5 comments

⚠️ Before posting ⚠️

  • [X] This is a bug, not a question or an enhancement.
  • [X] I've searched for similar 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.

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.

alanbosco avatar Nov 10 '23 23:11 alanbosco

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.

Sacerdoss avatar Nov 27 '23 06:11 Sacerdoss

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

Captaindraeger avatar Jan 16 '24 05:01 Captaindraeger

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.

rafaelsms avatar May 01 '24 18:05 rafaelsms

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

Sacerdoss avatar May 01 '24 18:05 Sacerdoss

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

rafaelsms avatar May 01 '24 18:05 rafaelsms