I want to implement notification system, currently just audio feedback. (in the far future maybe an animation and a preview of the email).
The question is, when should the Docklet notify the user? You think "when I have new mails, of course", but it's not that easy!
All I can calculate right now is the count of unread message on your account.
Let's say XMail shows you, that you have 10 unread message. Then you go to your Mail-Account, read all these message. Then you receive 5 more message. All this, between two checking intervals of XMail.
Everything what XMails can see, is that you have 10 unread message the first time, than 5 unread message on the second time. It does not know, if the later 5 message are new unread message or are leftovers from the first 10.
You see what I mean? A simple "Notify me if i have more unread message than on last check" doesn't always work.
I could do a "Notify me if the unread message count changes", but this would cause many false notifications.
Or what about "Notify me, if there are any count of unread message"? This would be like a reminder "read your mails!"
None of these possibilities are satisfying, imho. Does anybody else has another idea? Does anybody knows how Docklets from other docks handle this problem?
Besides: Does anybody know a nice "new Mail" - Sound i could use?
Cheers, Atreiu.








Sign In »
Register Now!
Help
This topic is locked

MultiQuote
