element-hq / element-hq/element-ios

Lengthy messages causes performance issues

Open
#7,578 1 comment 0 reactions 0 assignees View on GitHub
T-Defect X-Needs-Info
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1- Send a lengthy message of around 5000 words
2- When I open the chat room, it takes longer to scroll through the timeline.
3- And it crashes.

### Outcome

#### What did you expect?
we expect no delay when scrolling through the timeline.

#### What happened instead?
there is a huge delay while scrolling and the app crashes

### Your phone model

iPhone 11

### Operating system version

IOS 16

### Application version

The latest version

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are identified. Reproduce on an iPhone 11 running iOS 16 by opening a room containing a roughly 5,000-word message, then profile timeline scrolling and capture the crash; done means scrolling has no noticeable delay and the app does not crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile, performance
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.