nextcloud / nextcloud/ios

iOS photos hangs with large sync queue

Open
#1,847 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Configure automatic upload of images in the app (disabled background upload)
  2. Disable the iCloud-photo sync
  3. Take pictures and create a long queue (20 is too less, 100 is working) without opening Nextcloud App and therefore prevent uploading
  4. Pictures in photos app appear blurry, live images do not get shown. When trying to share an image (mail, app) an dialog “processing…” or “downloading from iCloud appears, but no progress.
Expected behaviour

missing sync to Nextcloud should not interfere with the system functions (like sharing Fotos with Mail app or social media app…), but it does.

Actual behaviour

It seems iOS is waiting for the sync to become ready, but the pictures are still available on the phone storage.

Screenshots

After opening the app, sync starts and after completion all errors were gone. If the problem comes back again, I will post screenshots

Reasoning or why should it be changed/implemented?

unexpected behaviour with major impact on the whole iOS.

Environment data

iOS version: iOS 15.1.1

Nextcloud iOS app version: Nextcloud Liquid for iOS 4.2.0.5

Server operating system: Arch.

Web server: nginx

Database: Postgres

PHP version: don’t know

Nextcloud version: 21.0.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on the reported iOS and Nextcloud app versions with automatic upload enabled, background upload disabled, iCloud Photos disabled, and a queue of about 100 photos. Trace the photo upload and iOS photo-sharing behavior; done means queued photos no longer block previews or sharing while waiting for Nextcloud sync.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.