signalapp / Signal-Android

A private messenger for Android.
https://signal.org
GNU Affero General Public License v3.0
25.63k stars 6.15k forks source link

Signal on android resends incoming messages exchanged from another device #13344

Open trlef19 opened 10 months ago

trlef19 commented 10 months ago

Bug description

When I am chatting from a device (ex. Laptop) and then open my phone (Android), i get incoming notifications from messages that were exchanged on my laptop as they are new, confusing me into thinking i have new messages

Steps to reproduce

Actual result: I get notifications about messages i have already seen and replied to from another device. Expected result: No new notifications arrive Describe here what should happen after you run the steps above (i.e. what would be the correct behaviour)

Device info

Device: LG V30 H930 Android version: Lineage os 20 (Android 13) Signal version: 6.41.3

clark-signal commented 10 months ago

Hello, do you have any logs for the desktop and android device?

wetneb commented 9 months ago

I have the same problem. I would expect that when I connect my other device, it does download all messages that I have seen on the first device, but it should not generate notifications for those that I have already read on the first device.

It should intuitively be possible, since on the other device, signal's main screen correctly shows the conversations I have already read as such (despite having generated notifications when fetching them).

Logs for the other device: https://debuglogs.org/android/6.43.2/0f65e0964aef38558beda104d59199a0603d9c05e4e5054c6d69001544b6c84d

nicholas-signal commented 9 months ago

@wetneb Do the notifications go away after a short while? It's possible the original messages are downloaded first, and the "read state" is downloaded later. The original messages would generate notifications but the read state would clear them.

wetneb commented 9 months ago

Each notification is rather short because it is quickly replaced by the next one, since they generally come in a large round. But the last one is definitely there for quite some time, enough to really read it multiple times. It's not like they are just flashing briefly.

The original messages would generate notifications but the read state would clear them.

That sounds like a plausible explanation of my UX, but then the delay between the message and the read state is really significant and consistent.