signalapp / Signal-Android

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

Read syncs from linked iPadOS are not always handled properly #13168

Open NFM-8 opened 11 months ago

NFM-8 commented 11 months ago

Bug description

There seems to be something wrong in processing of read syncs from linked iPadOS client, as read syncs works perfectly from linked desktop client at the same time.

Steps to reproduce

Actual result: Messages are marked as read in iPadOS and desktop clients, but not in the Android master device Expected result: Messages are marked as read in all clients

Device info

Device: Samsung Galaxy A32 Android version: 13 Signal version: 6.26.5

greyson-signal commented 11 months ago

Hi there, if it works from desktop -> android, then I'm going to assume this is an iOS issue, and I'll move the ticket over there. In the meantime, I recommend taking a debuglog from both the iPad and Android device after syncing and sharing the link in the issue.

NFM-8 commented 10 months ago

If it helps, there you have logs from iPadOS and Android clients some time after this issue happened:

https://debuglogs.org/ios/6.36.0/db86f2012e4bf3432aa935ef5d54c8194668e94d7f66fc1ab2b16800478acc4a.zip

https://debuglogs.org/android/6.28.6/6b60247cf799239cebb16def0956c0c4f709135c6d21df62a06afea25b7df76e

Miguel-Signal commented 10 months ago

Hi @NFM-8

Could you update your iPad to Signal version 6.37? If the issue still persists on this new version could you please send over a new debug log from the iPad?

To share a debug log from Signal iOS, tap your profile, Settings, Help, Submit Debug Log, Copy Link.

NFM-8 commented 10 months ago

Unfortunately, this issue is still reproducible with iPadOS Signal version 6.38 and Android Signal version 6.30.4.

https://debuglogs.org/android/6.30.4/406674d51c9f87942b05f0d3345808e2317a7af3b3365a850e406fbaabaa88b0

https://debuglogs.org/ios/6.38.0/45313117f867977762f85cfb089f10ad1426ac3ed8f21377aaf2b9c2650dd774.zip

Miguel-Signal commented 10 months ago

@NFM-8 thanks for lettings us know.

Could you provide me with a few message ID numbers for messages that were read on your iPad but were not marked read on Android?

To find a message ID, long-press on the message bubble, select the info icon that appears at the top of the screen, then long press on the received time stamp to copy the message ID. There will be no feedback in the app to copy the message ID, but it will be copied.

NFM-8 commented 10 months ago

Another set of logs, and message with timestamp 1693410899970 is one that behaved badly.

https://debuglogs.org/ios/6.38.0/3d7d1eee4c4d412436f3c94c039c8b3b5cf679020a7ea11b93da7bc09281cba8.zip

https://debuglogs.org/android/6.30.4/e835f76ea22815efe9cf762f7550f0ce1ad02d6ea6545d1929600c3b0ec66f50

It seems that the read receipt is received by the Android client, so I stand by my original hypothesis that this is Android client issue.

08-30 19:22:27.314 22596 22632 I MessageProcessorV2: [1693412545696] Synchronize read message. Count: 1, Timestamps: [1693410899970]