element-hq / element-x-android

Android Matrix messenger application using the Matrix Rust Sdk and Jetpack Compose
GNU Affero General Public License v3.0
1.1k stars 156 forks source link

Odd typing behavior after non-alphanumeric characters (OpenBoard Keyboard) #2682

Closed 0x1a8510f2 closed 5 months ago

0x1a8510f2 commented 7 months ago

Steps to reproduce

  1. Be on GrapheneOS with OpenBoard keyboard.
  2. Open any room on ElementX Android and type any text.
  3. Enter non-alphanumeric character such as . or even (space).
  4. Note weird duplicated characters when typing or deleting text.

https://github.com/element-hq/element-x-android/assets/83190128/35a5a984-bda4-4a1f-bd0d-d8e8f49c1a16

Outcome

N/A

Your phone model

Google Pixel 8 Pro

Operating system version

Graphene OS (2024040300)

Application version and app store

Version 0.4.7 io.element.android.x versionCode 40004070 (play store) OpenBoard 1.4.5 (fdroid)

Homeserver

Dendrite 0.13.7

Will you send logs?

Yes

Are you willing to provide a PR?

No

mrclauss commented 7 months ago

https://github.com/element-hq/element-x-android/assets/70584097/479258c6-4749-4328-b34a-599a19bf2006

Same here on Redmi Note. Worst thing is that you cannot delete the first letter of any word...

Using default gboard keyboard.

mrclauss commented 7 months ago

To me this looks like if the keyboard is reconfigured after every character...

mobergmann commented 7 months ago

Same problem for me. I am using a Fairphone 4 with the default Android and the HeliBoard keyboard.

mobergmann commented 7 months ago

PS: the problem does not appear when using the Google Keyboard or when using Schildi Next

mrclauss commented 7 months ago

Fascinating. For me the error disappeared after updating gboard! Thanks @mobergmann for your comment

mobergmann commented 7 months ago

Fascinating. For me the error disappeared after updating gboard! Thanks @mobergmann for your comment

So you suggest its rather an issue with the keyboard and not the app?

mrclauss commented 7 months ago

I would rather say that it's an issue in the interaction between app and keyboard that might be tolerated by some keyboard versions...

Am 12. April 2024 11:02:45 MESZ schrieb Moritz Bergmann @.***>:

Fascinating. For me the error disappeared after updating gboard! Thanks @mobergmann for your comment

So you suggest its rather an issue with the keyboard and not the app?

-- Reply to this email directly or view it on GitHub: https://github.com/element-hq/element-x-android/issues/2682#issuecomment-2051344575 You are receiving this because you commented.

Message ID: @.***>

-- Martin Clauss Meine Contactulater Card - All meine Kontaktinfo immer aktuell und vollständig: https://contactulater.app/me/mc

mobergmann commented 7 months ago

I started digging and it seems, that the HeliBoard community is aware of the Issue. They have a corresponding thread/issue on their repository: HeliBoard/#426 (there are also the issues HeliBoard/#664 and HeliBoard/#225 which address the same problem). The issue is, likely, with the AOSP Keyboard from which HeliBoard, OpenBoard and GBoard are a fork of and GBoard fixed the issue, but didn't push the fix upstream (but that is just an assumption of some commentators). According to @‎ meichthys, the problem can be avoided by turning off Auto-Correction (whether you want to make the trade is up to you).

maakuth commented 7 months ago

I think this is not likely to be a keyboard issue, as I've only witnessed it with Element X and it happens on multiplex different keyboards (SwiftKey included). It started to happen a week ago or so.

mobergmann commented 6 months ago

It seems as this issue is gone. I can use Auto correction in Element x with heliboard again. Can someone else confirm this?

mrclauss commented 6 months ago

Yes, works here too...

Am 22. Mai 2024 14:24:48 MESZ schrieb Moritz Bergmann @.***>:

It seems as this issue is gone. I can use Auto correction in Element x with heliboard again. Can someone else confirm this?

-- Reply to this email directly or view it on GitHub: https://github.com/element-hq/element-x-android/issues/2682#issuecomment-2124664298 You are receiving this because you commented.

Message ID: @.***>

-- Martin Clauss Meine Contactulater Card - All meine Kontaktinfo immer aktuell und vollständig: https://contactulater.app/me/mc

bmarty commented 5 months ago

The issue seems to be fixed according to several comments here. Thanks!