nextcloud / android

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

Offline Files opening-procedure very slow due to check for newer versions #11514

Open SHU-red opened 1 year ago

SHU-red commented 1 year ago

Is your feature request related to a problem? Please describe.

I often use NextCloud to store/share/access files for travelling documents A very common issue for me is as i want to open up my boarding pass right getting into the plane when its getting hectic

Describe the solution you'd like

Describe alternatives you've considered

Additional context

tobiasKaminsky commented 1 year ago

Your solution is a great idea, but only for files that are shown within app. Check this situation:

This blocking mechanism is a trade off between speed/UX and making sure that file in question is really up to date.

SHU-red commented 1 year ago

I fully understand your point ...

What about this:

It feels really strange to me, that i am somewhere offline and i have to wait this long time before a file opens which i did prepare on purpose to acess it

If i have to search through e.g. 5 files because i don't exactly know where to find my information i will have to wait for ever until i see what the file contains

The above mentioned solution (or an alternative) could also be configurable via option

Or what about a switch on the main ui to switch between Only Offline or Online mode?

tobiasKaminsky commented 1 year ago

Normally this check is <0,5s. You mention that you are "offline", in this case the check should not performed at all… Is this really happening when your device is offline? Then app should identify it and show "no connection to server", and directly open locally stored file.

SHU-red commented 1 year ago

Yes I've definitely not been at home Could this be the case when being in a public WiFi (like on airports)?

And then the app is searching for the configured server IP but the process is slow or something?

SHU-red commented 1 year ago

I tried to screen-capture this for you as good as possible.

As Sidenotes for the video:

This is how it lookes and sometimes the "loading-dialogs" appear multiple times and last longer

Hopefully this is helping you?

https://www.dropbox.com/s/g3atf6oym8ek58e/NextCloud_LaggyOfflineFiles.mp4?dl=0