element-hq / element-hq/element-ios

Profile picture in timeline rendered incorrectly when sending an image with bubbles enabled

Open
#7,662 1 comment 0 reactions 0 assignees View on GitHub
A-Message-Bubbles O-Occasional S-Minor T-Defect Z-Labs
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Enable Text Bubbles for Chat Timeline
2. Send Image
3. Profile picture is not rendered correctly, if however you send a normal text message first, its rendered correctly

### Outcome

#### What did you expect?
Profile picture should be rendered in correct size

#### What happened instead?
Profile picture is rendered too small

![MicrosoftTeams-image (2)](https://github.com/vector-im/element-ios/assets/5658012/58816514-e125-4226-94a2-258aeae9835c)

### Your phone model

iPhone 14 Pro

### Operating system version

iOS 16.2

### Application version

Element 1.11.1

### Homeserver

private Synapse Server

### Will you send logs?

No

Contributor guide

Open the contributing guide

Research direction

Begin by reproducing the issue in the Chat Timeline with Text Bubbles enabled, sending an image before any text message on an iPhone 14 Pro or comparable iOS device. Trace the timeline's image-message rendering and profile-picture sizing, then verify that the picture is correctly sized in both the image-first and text-first cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.