matrix-org / matrix-org/matrix-ios-sdk

UI Unresponsiveness Due to Callback on main thread

Open
#1,665 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
484
Forks
225
PR merge metrics
No merged PRs in 30d

Description

There is a callback in the SDK (Specified in the ScreenShot - Code Line 310) which leads to the main app's UI unresponsiveness when it gets called.
![Screenshot 2022-12-17 at 10 39 19 PM](https://user-images.githubusercontent.com/18926215/208247734-5abc9a61-ea2f-41fd-95c6-d03f43fe842c.png)

**Correct Behaviour**
Must not lead to app hang

**Current Behaviour**
Causes UI unresponsiveness

**Specs:**
Matrix iOS SDK: 0.24.0
iOS Device: iPhone 13 Pro Max iOS 16.2

![Screenshot 2022-12-18 at 1 48 43 PM](https://user-images.githubusercontent.com/18926215/208283658-dec80432-f033-4e06-8914-fca0669c9564.png)

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

Locate the SDK callback shown at line 310 in the attached screenshot and trace where it is invoked on the main thread. Reproduce the unresponsiveness with the reported Matrix iOS SDK 0.24.0 and iPhone 13 Pro Max/iOS 16.2 setup; done means the callback no longer causes the app UI to hang.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.