Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Incoming Message unread Issue #13902

Open
3 tasks done
Sagar0-0 opened this issue Jan 11, 2025 · 0 comments
Open
3 tasks done

First Incoming Message unread Issue #13902

Sagar0-0 opened this issue Jan 11, 2025 · 0 comments

Comments

@Sagar0-0
Copy link
Contributor

Sagar0-0 commented Jan 11, 2025

Guidelines

  • I have searched searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended
  • 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

document_6057404072191892067.mp4

Device

Realme GT NEO 3T

Android version

14

Signal version

7.29.2

Link to debug log

NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant