signalapp / Signal-Desktop

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

Voice Messages disappearing #5615

Open osto opened 2 years ago

osto commented 2 years ago

Voice messages are frequently disappearing (3-4 out of 10 times) when being recorded:

Setup:

Steps to reproduce:

  1. Press the recording button
  2. Record the message
  3. Press the check button to send

Expected result: Voice message is sent to the chat partner

Actual result: Voice message stops being recorded but is not send to the chat partner, i.e. the voice message simply disappears

EvanHahn-Signal commented 2 years ago

Sorry to hear that this has been happening for awhile!

I just tried sending 20 voice messages and all of them succeeded. Could you:

  1. Send debug logs? You can get them from View → Debug Logs.
  2. Offer any additional details? Is there any pattern to when they're deleted? Are they only removed for certain conversations? Are they only removed if the voice message is of a certain length?
osto commented 2 years ago

You can find the debug logs here. The last time the problem occurred was somewhere between 13:40:00 and 13:44:00. It occurred twice.

Unfortunately I can't make out a pattern. I'm only using voice messages for one conversation. I have encountered the problem for voice messages of up to ~3 minutes. I rarely sent longer voice messages so I can't tell whether it would appear in longer messages too, but I suppose it does. The disappearance does not seem to depend on the time the signal desktop app is running. The problem sometimes occurs when I just started signal and sometimes when it has been running for hours. When the voice message disappears its not like it was deleted (i.e. there is no "This message was deleted."). It simply does not appear in the chat protocol. Not in the chat protocol of the chat partner, nor the one of the signal desktop app or the one of the signal mobile app that is paired with the desktop app.

EvanHahn-Signal commented 2 years ago

Another question: how are you starting to record a voice message? Are you single-clicking the microphone button, using the shortcut, or something else?

osto commented 2 years ago

Im single-clicking the microphone button, though my mouse has a problem that it sometimes double-clicks despite me only clicking once.

EvanHahn-Signal commented 2 years ago

That looks like the source of the problem—we have a bug where quickly double-starting a recording can cause them not to be sent. We'll take a look.