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

Message composer consumes entire window and covers messages behind when crafting long reply #3851

Open 90vgt opened 5 days ago

90vgt commented 5 days ago

Steps to reproduce

  1. Where are you starting? What can you see? From any room / DM, start typing out a long message in Element X. The composer box will grow as the message gets longer, eventually covering the entire message / room window behind it. This prevents you from being able to read back a longer message line by line and reply to it.

Outcome

What did you expect?

Expected behaviour would be for the composer to grow until a certain point when typing a longer message, but stopping to allow some of the room behind to remain visible to allow you to read back parts of longer messages while forming your reply.

What happened instead?

Composer consumes the entire window, meaning you would have to either try and memorise a very long message while relpying, or close your keyboard frequently to try and read content in the background. This behaviour does not occur on the older Element Android, and every other messaging app (Signal, Whatsapp, SMS etc) also allows you to see some of message behind the composer. We frequently send and receive long messages, so this behaviour makes Element X difficult to use.

In the first example image, most of the room behind has been obscured. Screenshot_20241031_212756_Element X-cropped

Continuing to type eventually obscures the entire room history Screenshot_20241031_212824_Element X-cropped

The same message in Element Android (legacy) looks like this. Note that I'm using the rich text composer in the screenshot, but the behaviour is the same for the plain tect composer. Screenshot_20241031_212944_Element-cropped

Your phone model

Samsung Note20 Ultra 5G

Operating system version

Android 13

Application version and app store

Element X 0.7.2

Homeserver

Self hosted, Synapse 118.0

Will you send logs?

No

Are you willing to provide a PR?

No