Signal-Desktop icon indicating copy to clipboard operation
Signal-Desktop copied to clipboard

App suggests unread messages even though no messages are unread

Open fuglede opened this issue 6 years ago • 30 comments

  • [X] I have searched open and closed issues for duplicates

Bug Description

In a fresh installation of Signal Desktop, based on a backup of the messages in the old Chrome app, a contact list member has the notification for unread messages even though there are no unread messages.

Clicking the member does not change the indicator, which also appears in the window title, and restarting the application also does not resolve the issue.

This is made worse by #2898, which causes the chats to be sorted in what appears to be a random order, since knowing whether or not you have actually received any new messages becomes more painful, when the new messages can both appear several screens down, or, as in this case, be erroneous entirely.

Screenshots

Screenshot from 2019-10-28 16-11-07

Platform Info

Signal Version:

1.27.4

Operating System:

Linux 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3 (2019-09-02) x86_64 GNU/Linux

Linked Device Version:

Android 4.49.10

fuglede avatar Oct 28 '19 15:10 fuglede

@fuglede What do you see on your phone for that conversation?

scottnonnenberg-signal avatar Oct 28 '19 16:10 scottnonnenberg-signal

@scottnonnenberg-signal It looks normal on the phone; most recent activity is a collection of unsecure (SMS) messages.

The user exhibiting the issue deactivated their Signal account some time ago, prior to the import on the new Signal Desktop installation. Can't tell if that's relevant or not though.

fuglede avatar Oct 28 '19 17:10 fuglede

Thanks for the additional information. I'd recommend choosing 'Delete Messages' in the top-right for that conversation.

scottnonnenberg-signal avatar Oct 28 '19 23:10 scottnonnenberg-signal

Yep, that resets the indicators from the title bar, so that's good.

It does, however, also remove that user from the list on the left (intended?) making them harder to spot, and if you search for them and find them in "Conversations", the unread indicator is still a "1" as before.

fuglede avatar Nov 01 '19 10:11 fuglede

I have this exact same issue with flatpak app on Fedora 40. It's been bugging me... Any way to manually walk the database and force the message read...

purpleidea avatar Jul 19 '24 05:07 purpleidea

@purpleidea do any conversations show when you search for !unread in the conversation search box?

trevor-signal avatar Jul 22 '24 14:07 trevor-signal

@purpleidea do any conversations show when you search for !unread in the conversation search box?

Indeed, I see that single one pop up. But clicking on it still shows it as unread but I've read everything there.

purpleidea avatar Jul 22 '24 14:07 purpleidea

My Signal Desktop for Windows started showing an unread badge constantly, for one contact, even though there are no unread messages with that contact. I don't see the issue on my iPhone.

I've screenshooted the chat from both Desktop and iOS to show it (attaching to this post).

I've even tried looking through the main and app logs to see if there were something obvious, and while I do see some entries that show that the indicators/badges are set, I'm not really sure what to look for as to the cause.

Signal-Desktop image

Signal-iOS image

main.log

{
  "level": 30,
  "time": "2024-08-03T10:06:24.577Z",
  "msg": "System tray service: setting unread count to 1"
}

app.log

[
  {
    "level": 30,
    "time": "2024-08-03T10:06:24.258Z",
    "msg": "SocketManager: processing 1 queued incoming requests"
  },
  {
    "level": 30,
    "time": "2024-08-03T10:06:24.375Z",
    "msg": "onReadOrViewReceipt(type=Read, envelope=[REDACTED]175, envelopeId=[REDACTED]b09): Saving 1 sync tasks"
  },
  {
    "level": 30,
    "time": "2024-08-03T10:06:24.376Z",
    "msg": "onReadOrViewReceipt(type=Read, envelope=[REDACTED]175, envelopeId=[REDACTED]b09): Queuing 1 sync tasks"
  },
  {
    "level": 30,
    "time": "2024-08-03T10:06:24.489Z",
    "msg": "updateMessageWithReceipts(timestamp=1722610923490): batch processing 1 receipt"
  },
  {
    "level": 30,
    "time": "2024-08-03T10:06:24.569Z",
    "msg": "Flushing complete processReceiptBatcher for waitBatcher"
  },
  {
    "level": 30,
    "time": "2024-08-03T10:06:24.569Z",
    "msg": "onEmpty: All outstanding database requests complete"
  },
  {
    "level": 30,
    "time": "2024-08-03T10:06:24.571Z",
    "msg": "App loaded - messages: 1"
  },
  {
    "level": 30,
    "time": "2024-08-03T10:28:19.458Z",
    "msg": "Sending 1 read syncs"
  }
]

briped avatar Aug 03 '24 11:08 briped

@briped Hi could you send a full debuglog for this device? https://support.signal.org/hc/en-us/articles/360007318591-Debug-Logs-and-Crash-Reports

jamiebuilds-signal avatar Aug 05 '24 15:08 jamiebuilds-signal

@briped Hi could you send a full debuglog for this device? https://support.signal.org/hc/en-us/articles/360007318591-Debug-Logs-and-Crash-Reports

Logs have been sent to [email protected] with the subject "Logs for Signal-Desktop issue 3711 - App claims unread messages, even though no unread exists."

A few notes to the article... The article you linked either isn't up to date, or there's something different about my client. I can open Signal and all that, but I don't see any menu or settings option that in any way relates to "View" or "Debug". I do remember that it should be possible to view the File, View etc. menu, but I can't even find that.

The mail link in the article is formatted wrong. It lacks a mailto: in front of the mail address in the anchor element href attribute :)

briped avatar Aug 05 '24 17:08 briped

@briped Did you happen to have a call in this conversation recently? If you scroll up to that call does the unread notification disappear?

jamiebuilds-signal avatar Aug 08 '24 18:08 jamiebuilds-signal

@briped Did you happen to have a call in this conversation recently? If you scroll up to that call does the unread notification disappear?

Sure, there have been calls, and missed calls.

Scrolling way past the date where the issue started (which I believe was somewhere around 1. August 2024 (might be a few days earlier, or a day later) doesn't make the unread badge disappear.

Just scrolling one message back shows the "New messages below" badge with the 1 count. I just tried doing the same in the Call History, with same result (i.e. unread did not disappear). BUT.

I cleared the call history (as those aren't as important as the messages to me), and the unread badge disappeared.

briped avatar Aug 08 '24 21:08 briped

I'm facing the same issue at the moment. Signal Desktop on Windows 10, version: 7.19.1

Unlink device and link it again didn't help. 2 of my contacts are marked with unread messages (only on Desktop) - It's all fine on mobile.

Wadera avatar Aug 14 '24 15:08 Wadera

In my case, I was able to clear the unread count on Signal Desktop by scrolling the "Chats" pane on the left side all the way down. There were some stale group chats where a member recently left the group. I don't recall seeing the notification on my mobile.

Perhaps check to see if this is what's happening to you?

wdormann avatar Aug 14 '24 16:08 wdormann

I have the same issue on Signal Desktop version 7.20.1 on Win 10.

Bruellberg avatar Aug 20 '24 13:08 Bruellberg

@Bruellberg could you try entering "!unread:" in the search bar on the left? Does anything pop up? If you manage to clear the unread message this way - please consider sending a debug log.

indutny-signal avatar Aug 20 '24 17:08 indutny-signal

When searching for !unread this chats appears, but it's impossible to mark them as read... Whe. Opening and scrolling down - notification about unread messages isn't disappearing. They still there.

Wadera avatar Aug 20 '24 18:08 Wadera

signal

Wadera avatar Aug 20 '24 18:08 Wadera

Debug log shared under: https://support.signal.org/hc/en-us/requests/new

Wadera avatar Aug 20 '24 18:08 Wadera

Same problem here as described by @briped and @Wadera. When searching for !unread the chat with the "unread" message appears, but it is impossible to mark as read. On my mobile, everything is fine and the chat is marked as red.

robertsiegfried avatar Aug 29 '24 06:08 robertsiegfried

@Bruellberg could you try entering "!unread:" in the search bar on the left? Does anything pop up? If you manage to clear the unread message this way - please consider sending a debug log.

This does not work. The affected contact shows up, but there is no specific unread message. There is just the unread message indicator although there is no message below... image

Bruellberg avatar Aug 31 '24 08:08 Bruellberg

Same issue here.

tobiscode avatar Sep 01 '24 23:09 tobiscode

as per @robertsiegfried @briped @Wadera Same here, MacOS 7.23.0

No issues on android, only shows in my Mac client. !unread shows the chat, but cannot clear the notification

Screenshot 2024-09-05 at 17 31 30

EDIT - I dont know how I missed it, but there was a missed call in that chat, I deleted the missed call message and it cleared the notification

oopled avatar Sep 05 '24 15:09 oopled

We introduced a fix in 7.23.0 to try to address this. It might be related to call related messages. After clicking the Calls Tab to mark call history as read, then the unread chat indicator should go away.

ayumi-signal avatar Sep 05 '24 16:09 ayumi-signal

Clicking on call history didn't help. I've cleared call history, then opened text chat with all "broken" users and all notifications are finally gone!

image

Wadera avatar Sep 05 '24 17:09 Wadera

Didn't work for me! I see an unread message on my mac desktop app version 7.23.0. I tried mark as unread/read, deleting the message, clicking on call history as suggested, clear call history. Nothing helped, I still see an indicator for one message unread.

Update: Overnight the unread indicator suddenly disappeared.

europastudent avatar Sep 10 '24 12:09 europastudent

Clicking on call history didn't help. I've cleared call history, then opened text chat with all "broken" users and all notifications are finally gone!

image

Can confirm! This also worked on my end.

f-sauer avatar Sep 13 '24 06:09 f-sauer

Dear all,

I also have a problem with unread messages in only ONE chat windows and only on my windows client (all other devices show no unread messages)... I can't get rid of it...

I'm running Signal 7.24.1 on my Win 10 client...

Is there a trick to get rid of this bug? Non of the described suggestions in this chat worked...

Thank you!

mlinko6 avatar Sep 13 '24 07:09 mlinko6

@mlinko6 To be clear, you have already tried clearing all of your call history messages from the calls tab?

Could you please include a debuglog? https://support.signal.org/hc/en-us/articles/360007318591-Debug-Logs-and-Crash-Reports

jamiebuilds-signal avatar Sep 13 '24 21:09 jamiebuilds-signal

@mlinko6 To be clear, you have already tried clearing all of your call history messages from the calls tab?

Could you please include a debuglog? https://support.signal.org/hc/en-us/articles/360007318591-Debug-Logs-and-Crash-Reports

Dear Jamie,

yes I've done that but it didn't help either:

image

https://debuglogs.org/desktop/7.24.1/b8058930c8f13ddaa652fdc2fe40e8b8a85d4940b7e84584fb67c874a7b76ac3.gz

Hope this helps!

KR Rok

mlinko6 avatar Sep 15 '24 10:09 mlinko6