Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download der Foto Vorschaubilder dauert sehr lange #3016

Closed
StefanTux19 opened this issue Sep 11, 2018 · 9 comments
Closed

Download der Foto Vorschaubilder dauert sehr lange #3016

StefanTux19 opened this issue Sep 11, 2018 · 9 comments
Labels
bug needs info Waiting for info from user(s). Issues with this label will auto-stale. stale

Comments

@StefanTux19
Copy link

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

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

@nextcloud-android-bot
Copy link
Collaborator

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

@tobiasKaminsky
Copy link
Member

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.

@tobiasKaminsky tobiasKaminsky added the needs info Waiting for info from user(s). Issues with this label will auto-stale. label Sep 12, 2018
@AndyScherzinger
Copy link
Member

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?

@tobiasKaminsky
Copy link
Member

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.

@Zeromax
Copy link

Zeromax commented Sep 15, 2018

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?

@tobiasKaminsky
Copy link
Member

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

@Zeromax
Copy link

Zeromax commented Sep 19, 2018

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

@godfuture
Copy link

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

@stale
Copy link

stale bot commented May 9, 2019

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!

@stale stale bot added the stale label May 9, 2019
@stale stale bot closed this as completed May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs info Waiting for info from user(s). Issues with this label will auto-stale. stale
Projects
None yet
Development

No branches or pull requests

6 participants