Android: Download der Foto Vorschaubilder dauert sehr lange

Created on 11 Sep 2018  路  9Comments  路  Source: nextcloud/android

Actual behaviour

  • Tell us what happens
    Download der Foto Vorschaubilder dauert sehr lange. Viele Bilder werden 眉berhaupt nicht angezeigt.

Expected behaviour

  • Tell us what should happen
    Download der Vorschaubilder muss schneller werden. Sonst ist das Fotoerlebnis schlecht.

Steps to reproduce



    1. 2.
  1. 3.

Environment data

Android version:

Device model:

Stock or customized system:

Nextcloud app version:

Nextcloud server version:

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

bug needs infdiscussion stale

All 9 comments

GitMate.io thinks possibly related issues are https://github.com/nextcloud/android/issues/1192 (download to phone), https://github.com/nextcloud/android/issues/191 (Chunked download), https://github.com/nextcloud/android/issues/2963 (Enhancement: Download to...), https://github.com/nextcloud/android/issues/1579 (Can't download files), and https://github.com/nextcloud/android/issues/347 (Unable to download files).

This is mostly a problem of the server as the server has to generate preview images in the correct sizes.
To test if this is really the cause, you can wait until one folder is completely loaded and then clear the app's cache and re-enter the folder.
Then it should be much quicker.

You can also use https://github.com/rullzer/previewgenerator to generate the previews in advance and not on demand.

You can also use https://github.com/rullzer/previewgenerator to generate the previews in advance and not on demand.

while again the preview generator would have to generate the previews in the requested resolution, right?

Preview generator is generation most common fixed sizes and then serves the one that fist best, e.g: (only an example, not the real sizes)
32x32
64x64
128x128
are generated.

If you then need 92x92 you'd get 128x128, which is a slight overhead in size, but is faster than generating the exact on.

Ok, so I can reproduce this:

  • I have Uploaded nearly 3.000 images (from desktop)
  • In the app I open the gallery view
  • It takes a nearly 1.20 minutes to show the list (only placeholders are shown)
  • It takes realy long to pickup the preview images (preview is generated)
  • it also only loads the visible images and does not load any further
  • while the preview images are loaded the gallery list ist totally useless

Is it possible to download the list and images like it is in the web app? So fetch the list by scrolling down. I think this will speed up that page,

Is it possible to load the images in async and parallel?

@Zeromax ok, you are talking about the photo section. This is unfortunaly known and currently a search limitation of the server. We hope to have a better way on next server release (NC15).
I assumed that @StefanTux19 is talking about the regular file list.

Ah OK. I thought it is related. Thanks for the clarification.

@tobiasKaminsky is there a ticket for the search limitation on the server? The foto section simply does not work...

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tobiasKaminsky picture tobiasKaminsky  路  3Comments

Bugsbane picture Bugsbane  路  3Comments

eppfel picture eppfel  路  3Comments

Shagequi picture Shagequi  路  3Comments

Tie-fighter picture Tie-fighter  路  3Comments