element-x-android: Keyboard starts misbehaving once message in composer is marked as a reply

Steps to reproduce

  1. Type text into composer using Gboard
  2. Swipe on a message to make current message a reply
  3. Continue typing or deleting text in composer

Outcome

What did you expect?

Autocorrect works fine, suggestions bar doesn’t flicker, typing or deleting characters doesn’t cause current word to be reinserted a few more times into composer (e.g. typing e after thirt can cause thirtthirtthirtthirte to be inserted instead of thirte; similarly deleting e from thirte can put thirtethirthethirt in composer).

What happened instead?

https://github.com/element-hq/element-x-android/assets/46846000/d00ae6c7-1e5e-4cbd-9cb0-7fa307bdc46e

Notice that flickering starts only after swiping to reply, and that some characters are deleted with higher delay than others.

I think this might have happened to me a few times while editing messages too.

Your phone model

Google Pixel 3

Operating system version

Android 13

Application version and app store

deff2d8, GHA debug build

Homeserver

Synapse 1.98.0

Will you send logs?

Yes

Are you willing to provide a PR?

No

About this issue

  • Original URL
  • State: closed
  • Created 6 months ago
  • Reactions: 3
  • Comments: 23 (5 by maintainers)

Most upvoted comments

Sorry for the trouble. This issue was fixed yesterday in the rich text editor library here, however we still need to release a version of the library and integrate it in the app, we’re just waiting for some other changes to be merged.

Confirming it works on 0.4.8. Thanks!

Got it fixed by updating GBoard, someone else confirmed heliboard 1.2 is also working

in my case, problem still occuring when I tried with heliboard 1.2 today.

Same here, app now unusable on my end as well

Same problem (I mean unusable). synapse 1.98 / elementx 0.4.7 / openboard + iodeOS 4.10

The only workaround i have is writing message without spaces.

imeanihavetowritelikethisinelementxotherwiseitgets crarararsersssyysysysysysyss