the way email messages are counted is not foolproof

Bug #54275 reported by Jeff Fortin Tam
2
Affects Status Importance Assigned to Milestone
Specto
Fix Released
High
Jeff Fortin Tam

Bug Description

There is something wrong with the email message count, this needs to be discussed with Pascal. Besides, I have started noticing that in some rare cases, specto doesn't notify me that there are a few mails waiting for me in gmail.

Basically, I'll try explaining the issue, but feel free to correct me.
If you receive an email and read it from another computer, and that during that time you receive another email, Specto will think these emails are the same email and will not tell you about it.

So the problem resides in the way Specto counts unread / new mail. It currently does this, basically:
if self.newMsg > int(self.check_old()): self.updated=True

Gentlemen, what new counting method should we use? We need to have notifications as long as new messages are still in the inbox, even if they were there the last time we checked.

Tags: email
Jeff Fortin Tam (kiddo)
Changed in specto:
assignee: nobody → woutclymans
importance: Untriaged → High
status: Unconfirmed → Needs Info
Revision history for this message
Pascal Potvin (pascal-potvin) wrote :

IMO, We should always keep the notification on, as long as there are new messages in the gmail inbox.

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

Fixed as requested. Now, it simply watches for self.newMsg != 0 or False.

Changed in specto:
assignee: woutclymans → kiddo
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.