nextcloud / nextcloud/ios

The whole application freezes during upload

Open
#888 7 comments 1 reaction 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

Expected behaviour

The application does not freeze, and we can still use it during uploading files to the server, all the job is performed in a background thread without blocking the main thread. Also, responsiveness is not affected.

Actual behaviour

The application freezes during file upload, and almost does not respond as all of the touches and other events are queued in the main loop and are not processed at an expected time, what harms the user experience.

Steps to reproduce

Just upload a file either manually or by a synchronisation mechanism: make a photo or video using your iPhone and then open the app: it will start synchronisation, and this problem will occur.

iOS version

iOS 12.2

App version

Latest on the 19.06.2019, 2.23.7.9, 2019.
The problem described was happening for a half year at least,
so not only this version has this defect.

Server configuration

All versions of next cloud 14, 15 and 16 (not 16.0.1) in docker (so from dockerhub)

Operating system:
iOS, Linux.

Web server:
Nginx

Database:
MariaDB

PHP version:
The one in the official image of nextcloud in dockerhub.

Nextcloud version: (see Nextcloud admin page)
16.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 a manual upload or synchronization-triggered upload on iOS, then trace which upload work blocks the main thread. Done means the upload completes without freezing the application or delaying touch and other events.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.