systray-x icon indicating copy to clipboard operation
systray-x copied to clipboard

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

Open antoyo opened this issue 9 months ago • 9 comments

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:

  • Receive a new mail.

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

Desktop (please complete the following information):

  • OS / distribution: ArchLinux
  • Architecture (32 or 64 bit): 64 bits
  • Desktop type / Window Manager (KDE, Xfce, Cinnamon, MATE etc): i3 window manager
  • Thunderbird version and arch (Tb xx.xx.x, 32 or 64 bit): Thunderbird 115.10.2, 64 bits
  • Thunderbird package type (repository, mozilla binary, flatpak, snap, etc): ArchLinux repository
  • Run echo $XDG_SESSION_TYPE in a terminal and report the results: x11
  • Add-on version: 0.9.9
  • App version: (I don't know what this is)
  • Install type: Archlinux repository.
  • Used Qt library: default system repository

Additional context The debug window shows:

Unread mail: 0
New mail: 0

so it seems like it never detects the new mails.

antoyo avatar May 07 '24 12:05 antoyo

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

katonagl avatar May 10 '24 09:05 katonagl

Workaround is to select the API count method.

Ximi1970 avatar May 20 '24 12:05 Ximi1970

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.

Nikolai5 avatar May 20 '24 12:05 Nikolai5

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.

antoyo avatar May 20 '24 13:05 antoyo

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.

katonagl avatar May 23 '24 12:05 katonagl

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

Ximi1970 avatar May 26 '24 17:05 Ximi1970

Bit unnecessary, but thanks appreciate your effort.

Nikolai5 avatar May 26 '24 17:05 Nikolai5

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.

RoblKyogre avatar Jun 28 '24 02:06 RoblKyogre

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

Ximi1970 avatar Jul 29 '24 07:07 Ximi1970

New release.

Ximi1970 avatar Aug 10 '24 15:08 Ximi1970