TelegramMessenger / TelegramMessenger/Telegram-iOS

Text of edited message is out of a message's left border

Open
#237 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
9k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Checklist
  • I am reporting an issue in existing functionality that does not work as intended
  • I've searched for existing GitHub issues
Description

Text of edited message is out of a message's left border
Frequency / Reproducibility: Once

Expected Behavior

Edited text must stay inside of a message's bubble

Actual Behavior

Message was edited and right after that all text has smoothly moved to left beyond message's borders (see screenshot). Once you exit and re-open the chat, text layout was restored.

Steps to Reproduce
  1. Sent a message to a chat
  2. Edit sent message and press 'Send'. Please note that there might be connection problems exactly at this time because I was in the elevator.
Screenshots and Videos

MessageLayoutBug

Environment

Device: iPhone 11 MWM22RU/A

iOS version: 13.3.1

App version: 5.14.1

Application settings: enabled MTProto proxy

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 the edited-message case on the reported iPhone 11, iOS 13.3.1, and app version 5.14.1, noting the behavior immediately after sending and after reopening the chat. Trace the message bubble layout used after an edit and compare it with the restored layout; done means edited text remains inside the bubble without requiring the chat to be reopened.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.