element-x-android icon indicating copy to clipboard operation
element-x-android copied to clipboard

Own read marker (new) does not get updated when reading the room

Open witchent opened this issue 1 year ago • 3 comments

Steps to reproduce

  1. Open a room with unread messages
  2. Observe the "New" marker being at the correct place
  3. Scroll and read through the room as long as you like
  4. Close the room and open it again
  5. Observe the "New" marker being at the same place as before instead of vanishing/updating to the latest message
  6. (Bonus: Open the room with Element-Android or Element-Web and notice the "New" marker being updated in Element-X)

Outcome

What did you expect?

"New" marker to be updated when opening the room

What happened instead?

Nothing. The "New" marker stays at the same place unless one opens the room with another client. This makes it very hard to keep up with a semi high-traffic room using Element-X

Your phone model

Oneplus 6

Operating system version

Android 14

Application version and app store

Element-X 0.4.2 (and up to date nightly)

Homeserver

Synapse 1.99.0

Will you send logs?

No

Are you willing to provide a PR?

No

witchent avatar Jan 24 '24 08:01 witchent

I believe Element X simply does not update the unread marker at all, atleast the chat room was marked read in Element-Web, but the unread marker was not updated (showing unread messages farther up the room)

Kunsi avatar Mar 18 '24 04:03 Kunsi

We need send the receipt FULLY_READ when the user goes back to the room list.

bmarty avatar Mar 29 '24 16:03 bmarty

@amshakal we are not going to work on it now because of https://github.com/element-hq/element-x-android/pull/2687#issuecomment-2056619023

manuroe avatar Jul 04 '24 12:07 manuroe