Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

First Incoming Message unread Issue

Open Sagar0-0 opened this issue 11 months ago • 2 comments

Guidelines

  • [X] I have searched searched open and closed issues for duplicates
  • [X] I am submitting a bug report for existing functionality that does not work as intended
  • [X] This isn't a feature request or a discussion topic

Bug description

  1. Go to any contact whom you have not contacted with
  2. Go to the profile screen
  3. Get the first message from that user
  4. Go to the messages screen.
  5. A New Message is received.
  6. Go back to the Chats List Screen, and you'll still see the message was unread.

Observations:

  1. When the new message is received, the scrollButtonState is also updated, and the new list is submitted to the adapter.
  2. When we try to scroll in the conversation screen, this will trigger the presentScrollButtons, and update the state.
  3. After some time, New List submitted and Update scroll state is triggered, which marks the message as read.

I am working on this issue, please assign this to me. What I have found is, presentScrollButtons is the function call required to mark the message as read. Which is only possible by updating scrollButtonStateStore from the ConversationRepository. I am not sure what is causing the delay in updating the scrollButtonStateStore for the FIRST message(I may need some assistance here), for further messages, the scroll is triggered every time and the behavior is as expected.

Screenshots

https://github.com/user-attachments/assets/a66fe26f-a069-4d10-b3e9-5869ed40b79c

Device

Realme GT NEO 3T

Android version

14

Signal version

7.29.2

Link to debug log

NA

Sagar0-0 avatar Jan 11 '25 16:01 Sagar0-0

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 15 '25 11:03 stale[bot]

Unstale

Sagar0-0 avatar Mar 15 '25 11:03 Sagar0-0