-
Notifications
You must be signed in to change notification settings - Fork 20
Some longer texts extend outside of the text bubble #110
Comments
Thank you for the report. This issue mostly occurs in convergence mode and is affecting other apps like fluffychat or telegram too sometimes. We need to find a better way to calculate the label width. Maybe a new toolkit can help with this task @bhdouglass ? |
Looks like a word wrapping issue, unless I'm missing something @ChristianPauly ? |
You need a hidden rendering, then measuring, then text box sizing function like in TELEports or the old Telegram app... |
Okay, so here we have the width calculation in messages app: https://github.com/ubports/messaging-app/blob/xenial/src/qml/MessageBubble.qml#L114-L119 And here in (old) Telegram using an invisible Label with the same text for width calculation: https://github.com/ubports/telegram-app/blob/master/telegram/app/qml/components/MessagesListItem.qml#L278 |
Would TextMetrics help here? https://doc.qt.io/qt-5/qml-qtquick-textmetrics.html |
Not to forget that in Telegram we need support for text formatting, while messaging app just has plain text, maybe thats the difference. |
My wife and I have the same issue with mms. She had an OPO and me a bq E5-HD Ubuntu Edition. |
Closed by #130 |
can you please open a new ticket, but i can't confirm on N5 with today image on devel |
OK. |
Hello, sometimes when receiving texts, the text will extend outside the text bubble and will become partly unreadable. I am using a OPO device
The text was updated successfully, but these errors were encountered: