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

Read indicator incorrect when messages race for time ordering #4765

Open ManDay opened 2 years ago

ManDay commented 2 years ago

Steps to reproduce

  1. Party A sends a message and Party B sends a message, supposedly B timestamps its message before A's message
  2. On A's phone, A's message appears before B's message

Outcome

What did you expect?

B's read indicator ("B has read that message") as seen by A appears on B's message.

What happened instead?

Said read indicator appears on A's message, suggesting B hasn't read its own message.

Your phone model

No response

Operating system version

No response

Application version and app store

1.3.9

Homeserver

matrix.org

Will you send logs?

No

ManDay commented 2 years ago

Maybe this is not strictly from a race, but a logic error. I observed a similar problem where a successful voice call done on Element-Web has no read indicator from the other party in Element Android

alittlebitofit commented 2 years ago

I'm still facing this bug.

Oh and there's more. In my case when the recipient has stopped texting. And I send like 4 messages. Their last seen logo (read indicator) are still between their last message and the first of my 4 messages. Then the recipient starts typing but their last seen logo is still not at the bottom!

Why is this sooooooooooooooooooo?

Versions: Version: 1.4.11 [40104110] (F-aec19656) Matrix SDK Version: 1.411 (aec19656) olm version: 3.2.10

Phone Model: Samsung Galaxy M31s Operation System: Android 12 with Samsung UI 4.0

Homeserver: matrix.org