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.08k stars 155 forks source link

Writing text with OpenBoard causes broken behaviour #1312

Open Aquathing opened 1 year ago

Aquathing commented 1 year ago

Steps to reproduce

  1. Install OpenBoard and set it as your keyboard (I use the Italian QWERTY layout)

You can reproduce two different kinds of strange behaviour, the first one, messes with the text formatting and disables formatting options:

  1. Go in any chat and open the formatting menu
  2. Use any kind of formatting options
  3. Start observing how the text changes formatting on its own while the buttons remain in an active states.

The second behaviour can be observed while reporting a bug:

  1. Write a bug report, and then deletes some words
  2. Notice how the words get attached to each other while typing. This was also reproducible inside a chat before Text Formatting was introduced

Outcome

The app handles keyboard input in a strange way causing text to change while the user is typing

Your phone model

Nothing Phone 1

Operating system version

Android 13 Nothing OS 2.0.2

Application version and app store

App Tester 0.1.7-nightly (40001070)

Homeserver

No response

Will you send logs?

No

Are you willing to provide a PR?

No

MidnightSlicer commented 11 months ago

I am having this on a Google Pixel 6a, GrapheneOS (Android 14), OpenBoard 1.3.5, Element x 0.3.2 (40003020)

maltee1 commented 7 months ago

Seems to be fixed for regular messages, but is still happening when editing messages. GBoard.

MidnightSlicer commented 7 months ago

I just tried again and it is still impossible to type a message with OpenBoard. It reminds me of when I mess up my state stuff in a React application because the text doubles and writes entire words every time a press a key.