vauvenal5 / yaga

Nextcloud Yaga - A Nextcloud first gallery app for Android.
https://vauvenal5.github.io/yaga-docs/
GNU General Public License v3.0
136 stars 9 forks source link

Preview images not updated correctly after download #132

Open vauvenal5 opened 3 years ago

vauvenal5 commented 3 years ago

I have screen after screen that looks like this (but then I also have screens that display just fine - sometimes a picture looks like what you see here, and other times the same picture displays just fine) 10cd3039-1f1d-4fb4-ad72-8a57806e92b0

Originally posted by @dln949 in https://github.com/vauvenal5/yaga/issues/97#issuecomment-830481043

vauvenal5 commented 3 years ago

I also encountered this issue. In the background the previews are actually downloaded but the refresh notification for the display does not get always processed.

@dln949, on a side note, do you have preview generator set up?

vauvenal5 commented 3 years ago

One more question do the pictures not load at all or do they just take a very long time to load? Can you also provide logs next time you have this issue?

dln949 commented 3 years ago

I also encountered this issue. In the background the previews are actually downloaded but the refresh notification for the display does not get always processed.

@dln949, on a side note, do you have preview generator set up?

Sorry, I do not know what "preview generator" is.

dln949 commented 3 years ago

One more question do the pictures not load at all or do they just take a very long time to load?

Both.

vauvenal5 commented 3 years ago

This is the preview generator: https://github.com/nextcloud/previewgenerator

It pre-generates previews so that they do not take for ever when you need them. I strongly recommend using this to improve fetch time for previews.

vauvenal5 commented 3 years ago

I just published v0.25.3. It contains a major refactoring of the preview retrieving logic and should bring an improvement in speed and stability.

vauvenal5 commented 3 years ago

@galaxyrun can you be a bit more specific? Does your browse view work?

galaxyrun commented 3 years ago

I've deleted my comment now, since I was able to get the most photos to my home view. I just opened a folder in the browse view section and they appeared in the home view category