Don't download photos to local storage unless explicitly told to by the user
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 4.2k
- Forks
- 3.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 7
Description
Actual behaviour
-Photos are downloaded to local storage, rather than cached.
Expected behaviour
-When browsing a directory of photos, I don't want to have to wait for each photo to be downloaded and stored locally before being able to view them.
-The behavour of video files is to stream them unless given the action to download. Photos should follow similar logic.
Steps to reproduce
- Create a folder on a remote server and add photos
- Navigate to the folder via the owncloud android app
- Have you local storage fill up trying to just view the files in the folder.
Can this problem be reproduced with the official owncloud server?
(url: https://demo.owncloud.org, user: test, password: test)
Yes
Environment data
Android version: 8.1 Sept 5th patch
Device model: Nexus 6p
Stock or customized system: Stock android
ownCloud app version: 2.8.0
ownCloud server version: 10.0.8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the Android app opens remote photo files and how it handles the existing video streaming behavior. Compare the photo and video paths, then verify that browsing photos does not persist them locally unless the user explicitly downloads them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100