Ximi1970 / systray-x

SysTray-X: A system tray extension for Thunderbird. Needs both the addon AND the companion app installed to work. Will not work with TB flatpaks or snaps.
Mozilla Public License 2.0
213 stars 15 forks source link

New mail indicator does not show anymore in the system tray icon #190

Closed antoyo closed 1 week ago

antoyo commented 3 months ago

Describe the bug The system tray icon (at least on Linux), does not show the indicator that there's a new mail.

To Reproduce Steps to reproduce the behavior:

Expected behavior The new mail indicator should show that there's a new mail.

Desktop (please complete the following information):

Additional context The debug window shows:

Unread mail: 0
New mail: 0

so it seems like it never detects the new mails.

katonagl commented 3 months ago

I have the same bug, have to downgrade to previous version to make it work again.

Ximi1970 commented 3 months ago

Workaround is to select the API count method.

Nikolai5 commented 3 months ago

Also try changing the new mail icon to custom and then back to default again within Thunderbird. So go to addons in thunderbird settings, press the add-on options button (spanner icon) against this add-on and do it in there rather than editing the preferences of the tray icon app.

antoyo commented 3 months ago

Also try changing the new mail icon to custom and then back to default again within Thunderbird. So go to addons in thunderbird settings, press the add-on options button (spanner icon) against this add-on and do it in there rather than editing the preferences of the tray icon app.

Thanks, it did fix the issue. It seems to continue working after restarting the app as well.

katonagl commented 2 months ago

It only works for me if new mail indicator is checked. Otherwise the number of unread mail is never displayed. And even with the new mail indicator selected there is a lag of ca. 5 seconds until the tray icon changes. I go back to previous version now, that works perfectly.

Ximi1970 commented 2 months ago

I cannot reproduce it anymore with the latest arch and newly build package.

Nikolai5 commented 2 months ago

Bit unnecessary, but thanks appreciate your effort.

RoblKyogre commented 1 month ago

unsure if necessary, but i had been experiencing this bug even with the latest thunderbird (115.12.2) and systray-x (0.9.9). ended up fixing this issue by just renaming my .thunderbird folder to something else and having thunderbird recreate it, so i'm assuming some setting somewhere got messed up and caused this to happen.

edit: did some more testing, so it seemed to work on first launch after enabling api count method, but subsequent launches cause it to no longer work

here's system info, as well as what i tried before just renaming the folder:

Like the original issue, I'm using Arch Linux (x86_64) and have both thunderbird and systray-x installed from the arch repos, but in contrast, I'm using KDE Plasma and am on Wayland instead. Neither the custom icon nor mail indicator workarounds worked for me, and the debug window shows 0 unread or new mail, despite having the API Count option enabled and having all my inboxes selected under "mail" in systray-x settings.

Ximi1970 commented 2 weeks ago

Found a bug in the "old" new mail detection. Fixed it but it is not in a release yet.

Ximi1970 commented 1 week ago

New release.