mkiol / GNotifier

Thunderbird add-on that replaces built-in notifications with the OS native notifications
https://addons.mozilla.org/thunderbird/addon/gnotifier/
GNU General Public License v3.0
164 stars 25 forks source link

[thunderbird] Notifications sent for every unread email #86

Closed anidev closed 8 years ago

anidev commented 8 years ago

Hi,

I've been having an issue with GNotifier on Linux where it displays a notification for every single unread email in my inbox whenever I receive a new email. So for example if I receive an email and already have 20 unread emails, I get 21 notifications. Then if I receive another email (and don't read any of the previous 21 emails), I get 22 notifications. I remember this used to work correctly (notification only for newly received emails), but sometime last year this unusual behavior started. I think I must have disabled the extension and forgotten about the issue until recently, when I enabled the extension and again saw the same issue. I can't say for sure exactly when the problem started, but I know it used to work properly before.

I'm running Thunderbird 38.5.0 on KDE 4.14, with GNotifier version 1.9.3. Let me know if there is any additional information I need to provide.

Thanks

mkiol commented 8 years ago

Thank you for letting me know. I'm aware of this behavior.

To be precisely, notification is not for every unread email but for every message with "new" flag. New flag is visualized with yellow asterisk, like this: pp03 Previous behavior was to show notification only for latest "new" message. Probably both approaches are not excellent.

I promise to rethink this and propose something more suitable.

anidev commented 8 years ago

Thanks for looking into this problem.

I'm not 100% sure, but I think it still shows a notification even for messages that don't have the "new" flag. I just received 15 notifications, which is strange because I have 17 unread emails, only 3 of which have that "new" flag next to it. Could this be a bug with Thunderbird? It's hard to reproduce since sometimes I don't get a notification when I send a test email to myself.

cgraeff commented 8 years ago

I don't know if it is related to this issue, but I get notifications for messages in the spam folder too. I think this is not optimal, as this folder gets a lot of new messages and whenever the notifications start, I must wait for them to be displayed to be able to use the computer again (it's not that long, but it's not optimal).

mkiol commented 8 years ago

@cgraeff It is definitely a bug. New messages in Trash or Spam folder should not trigger notifications.

mkiol commented 8 years ago

I would be grateful if you could try the latest package 1.9.5-pre2. I did some improvements in the mechanism how new emails are detected.

cgraeff commented 8 years ago

Ok, I will use it for a while and then report if it fixed the behavior or not.

Thanks!

On 2016-03-16 04:15, Mkiol wrote:

I would be grateful if you could try the latest package 1.9.5-pre2 https://github.com/mkiol/GNotifier/raw/master/xpi/gnotifier-1.9.5-pre2.xpi. I did some improvements in the mechanism how new emails are detected.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/mkiol/GNotifier/issues/86#issuecomment-197191244

mkiol commented 8 years ago

I wonder if I could close this issue. @cgraeff @anidev Did you managed to check latest 1.9.5 package? Thanks for your help!

cgraeff commented 8 years ago

Sorry for the delay.

I have not seen any notifications with new messagens on spam folder, but I've seen a notification for a new message in the drafts folder.

On 2016-03-23 16:33, Mkiol wrote:

I wonder if I could close this issue. @cgraeff https://github.com/cgraeff @anidev https://github.com/anidev Did you managed to check latest 1.9.5 package? Thanks for your help!

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/mkiol/GNotifier/issues/86#issuecomment-200509645

anidev commented 8 years ago

The new behavior is better, but I think the problem is still there, though it doesn't always happen. Sometimes I will get just one notification for a new email, but then the next new email will trigger notifications for all the previous ones that are still marked as "new". It's hard to explain, I'll observe some more and try to get a better explanation. (Maybe it could be notifying for messages in Inbox as well as All Mail/Archives? Not sure)

mkiol commented 8 years ago

@cgraeff

drafts folder

You are right. I forgot to exclude also Draft & Archive folders...

dbalabka commented 8 years ago

Same problem was on Windows 10 with Thunderbird on first run. All new notification was fine. I'm using version 1.9.6

mkiol commented 8 years ago

It is already fixed in 1.9.7.

msoutopico commented 4 years ago

I am getting this issue (notifications for old unread messages) in Thunderbird 68.4.2 for Windows 10 64bits.

berchca commented 4 years ago

I've always had this problem. I honestly just thought it was a feature that I didn't like: I keep a lot of unread email in my inbox, to track what needs to be handled, so every time I get a new message, 1/4 of my screen is covered by the "notification" that in fact doesn't show my any useful information (because it shows too much information).

Even a preference/option to limit the notification to only the message(s) that actually did just arrive would go a long way toward making Thunderbird usable for me.

Running Thunderbird version 68.8.0 on Windows.

Thank you for hearing me out.