element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.36k stars 713 forks source link

"Encrypted message" label is shown above some messages #8223

Open waclaw66 opened 1 year ago

waclaw66 commented 1 year ago

Steps to reproduce

  1. Clear cache
  2. Enter encrypted room
  3. See Encrypted message in the wrong language (system language) above some messages image

Outcome

What did you expect?

No Encrypted message label.

What happened instead?

Encrypted message label shown when a room is entered for the first time. Next time, such labels are not displayed.

Your phone model

Galaxy S20 FE

Operating system version

Android 13

Application version and app store

1.5.26

Homeserver

self hosted

Will you send logs?

No

Are you willing to provide a PR?

No

waclaw66 commented 1 year ago

Seems it does always on newly loaded messages, while scrolling back in the history in already opened room.

waclaw66 commented 1 year ago

Another example. Not only "Encrypted message" also "waiting for decryption" is shown above decrypted message...

image

waclaw66 commented 1 year ago

Sometimes it's also shown above a newly sent message.

waclaw66 commented 1 year ago

Seems it could be Android version related, I have no such problems with Element on Android 9 tablet. However it happens on all other devices with Android 11 above.

waclaw66 commented 1 year ago

Is there any development? This is the major bug ruining user experience.

waclaw66 commented 1 year ago

Look at those messages at the bottom, placeholder texts reappears randomly. Tested in official arm64 1.6.3 from this web. If I build it on my own, the debug version 1.6.3 doesn't do that.

https://github.com/vector-im/element-android/assets/15554561/c1df47e5-c8d6-4a7f-b1a4-62725946572d

waclaw66 commented 1 year ago

It escalated to state that there were shown random messages from the past as newly received messages (including those italic placeholders). Clearing the cache didn't help. After logout and relogin all those problems disappeared.