rafatosta / zapzap

WhatsApp desktop application written in Pyqt6 + PyQt6-WebEngine.
GNU General Public License v3.0
44 stars 2 forks source link

Tray icon with unread messages bug #175

Closed mcdemon05 closed 9 months ago

mcdemon05 commented 10 months ago

Sometimes tray icon shows that have unread message image but there aren't unread messages

How I can debug this?

FEDORA 38 GNOME

rafatosta commented 10 months ago

This bug makes no sense.Are you using it with multiple users?

mcdemon05 commented 10 months ago

I use ZapZap with 2 users.

rafatosta commented 10 months ago

I use ZapZap with 2 users.

With multiple users, the counter sums all existing notifications. Surely one of your users has one.

mcdemon05 commented 10 months ago

I tell you for sure. There are no unread messages on both users. But the icon can show supposedly there is one.

Then if someone writes to the user, the tray icon will still show 1 message. And if I read it, the icon will already be updated and will show that there are no messages. But until no one has written, the icon may hang for a long time, that supposedly there is a message that does not exist.