SchildiChat / SchildiChat-android

Matrix client / Element Android fork
https://schildi.chat/android/
Apache License 2.0
385 stars 49 forks source link

Emojis with trailing newline cause app to crash #203

Closed Black616Angel closed 10 months ago

Black616Angel commented 11 months ago

Describe the bug After writing an emoji, entering a newline in the same message sometimes makes the app crash

To Reproduce Steps to reproduce the behavior:

  1. Go to some chat
  2. Enter the following text: `test123🫥

`

  1. Wait 1 second

Expected behavior Crash

Smartphone (please complete the following information):

Additional context

Upstream relevance Does this issue exist in Element Android? no

SpiritCroc commented 11 months ago

This appears to be a bug related to "rich text editor" which we do not touch, can you try without it?

Black616Angel commented 10 months ago

Seems like it. I tried without and it didn't crash. In element I had this not enabled. And now after trying it in element, that doesn't crash but randomly deletes the text...