element-hq / element-hq/element-ios

Element can freeze when searching in a room

Open
#6,762 4 comments 0 reactions 0 assignees View on GitHub
A-Search O-Occasional os:iOS16 S-Major T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

*Update:* #6840 has partially fixed this issue. You can now search in a room, but the freeze will still occur when rotating the device.

### Steps to reproduce

0. (Join a non-encrypted channel)
1. Open a channel
2. Click the channel name, click search
3. The app freezes

### Outcome

#### What did you expect?
I expected the app to remain responsive

#### What happened instead?
The app stopped responding to input entirely (including rage shake)

(I did not provide logs as I have to restart the app to report anything)

### Your phone model

iPhone 8

### Operating system version

iOS 16.0

### Application version

Element iOS 1.9.6

### Homeserver

matrix.org

### Will you send logs?

No

Contributor guide

Open the contributing guide

Research direction

Start by reading the partial fix in issue #6840 and reproducing the remaining freeze in a non-encrypted room on an iPhone 8 running iOS 16.0. Check the search flow and then rotate the device; done means the app remains responsive to input during both actions.

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.