signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.7k stars 2.68k forks source link

Message feed hides most recently received messages #4210

Open Cjen1 opened 4 years ago

Cjen1 commented 4 years ago

Bug Description

Occasionally when tabbing back into signal-desktop (windows) and multiple messages have been received, only a subset of the messages are shown. After restarting all messages are shown. The messages have been received since the preview shows the most recent of those messages.

It is like the main view doesn't scroll all the way down. When attempting to scroll you cannot go any further.

Steps to Reproduce

  1. Receive several messages while it doesn't have focus (or when scrolled up in conversation)
  2. Tab back in to signal (/click the down arrow)

Actual Result: One or two of the messages is displayed, but not all of them every time.

Expected Result: All messages can be viewed

Screenshots

Platform Info

Signal Version: v1.33.3 (but been occurring since last year)

Operating System: Linux (arch) and Windows10

Linked Device Version: Android 10

Link to Debug Log

scottnonnenberg-signal commented 4 years ago

When this happens, what do you see as the preview text for the conversation in the left pane? One of the missing messages?

Cjen1 commented 4 years ago

Yes, it is the most recent message. Worked example: A,B,C are received in that order while tabbed out/scrolled up. When tabbing back in sometimes I get a feed of:

A B C

other times I get:

A

In both cases the preview (most recently received message below conversation title) will display C. Additionally I do get notifications for each of these messages.

scottnonnenberg-signal commented 4 years ago

@Cjen1 Thanks for the extra detail. We have a potential fix for this which will be in the next beta.

rainerzufall commented 4 years ago

sounds like this is a duplicate of https://github.com/signalapp/Signal-Desktop/issues/3878 and your fix would close both. 🤞

rainerzufall commented 4 years ago

We have a potential fix for this which will be in the next beta.

@scottnonnenberg has an attempt at solving this been included in any of the 1.34.x betas? I just experienced the issue again on 1.34

scottnonnenberg-signal commented 4 years ago

Yup, an attempt at fixing it was included in v1.34, sadly. Debug logs are useful!

rainerzufall commented 4 years ago

Too bad, but good to know. I will have a look out for this again and report back with debug logs, message IDs, etc.

rainerzufall commented 4 years ago

Happened again:

Received two messages from one person:

1. Sent Freitag, 5. Juni 2020 19:14 (1591377240077)
Received Freitag, 5. Juni 2020 19:22 (1591377769164)
2. Sent Freitag, 5. Juni 2020 19:14 (1591377281645)
Received Freitag, 5. Juni 2020 19:22 (1591377769164)

The second one was "hidden" in the conversation itself, but visible in the preview in the left pane. When clicking to another conversation and then back to this conversation it appeared.

SignalBeta/1.34.0-beta.3 https://debuglogs.org/64b5cbb15dc3f566f89deefd1b8e1673a27ba33afb735b8f1d7a8337884158cc

itkfm commented 4 years ago

Experienced something somewhat similar: one message is simply missing in Signal Desktop. It's there on Android. It's there an Signal Desktop on a second computer (which is also where I did send it from).

Note: the affected system was shut down at the time I sent that message.

Note: restarting Signal Desktop made it finally appear.

Signal D.: v1.34.2 OS: Ubuntu 19.10

rainerzufall commented 4 years ago

@itkfm For me it sounds like you are experiencing a different issue. This issue is about not all received messages being displayed when openeing a conversation. You might want to try and search again if your issue exists already or you have to make a whole new bug report. In any case (also if your bug has different symptoms, but the same underlying cause and therefore should be reported here) a debug log is needed for the devs to further investigate your report. Here is how to get one: https://support.signal.org/hc/en-us/articles/360007318591-Debug-Logs-and-Crash-Reports#desktop_debug