nextcloud / android

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

Don't keep a downloaded copy when opened #2783

Open mikycomputers opened 6 years ago

mikycomputers commented 6 years ago

Actual behaviour

when a file is pressed, it always make an offline copy on phone (and a "V" mark is made) - happens with avi, pdf, txt, jpg - every file

Expected behaviour

the file should opened without making a copy on storage (or delete itself after closing), and no green "v" mark should be presented.

Steps to reproduce

  1. play a video, image, doc file
  2. close file
  3. see thr green "v" + ask app to make it offline (it will say it's already offline)

Environment data

Android version: 6.0

Device model: LG G4

Stock or customized system: stock

Nextcloud app version: 3.2.0

Nextcloud server version: 13.0.4

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

AndyScherzinger commented 6 years ago

Hi @mikycomputers, please see also my latest comment here https://github.com/nextcloud/android/issues/2718#issuecomment-401811422 since the actual behavior of the client you describe has been like that since the beginning and needs to be further discussed within the context of keeping files available off line / in-sync, download, and favorite state.

So this is a rather complex and also huge topic since it has a huge impact on the client's behavior (and user expectations)

AndyScherzinger commented 6 years ago

@Gatak as for videos (that support streaming), app version 3.3.0 in combination with Nextcloud server version 14 will support video streaming, see #2524

TheCrowned commented 6 years ago

since the actual behavior of the client you describe has been like that since the beginning and needs to be further discussed within the context of keeping files available off line / in-sync, download, and favorite state. So this is a rather complex and also huge topic since it has a huge impact on the client's behavior (and user expectations)

I totally understand, but what about adding an option that is on by default? This would allow to choose whether we want to download when viewing or not, but also leaving the current behavior unchanged, being it default. What do you think?

I use a cloud service exactly not to have anything sitting on my phone, and I would love to not have to periodically delete all downloaded contents :)