Version: (using KDE KDE 3.5.4) Installed from: Compiled From Sources Compiler: gcc 4.0.3 OS: Linux I have a Courier IMAP server that I connect to with KMail. KMail is set to check for new mail every 5 minutes. Up to KDE 3.4.2 (the last version I used before 3.5.3) when a new mail had arrived, I got a sound notification. Now, with 3.5.3 and 3.5.4, this doesn't work anymore (of course I have set the corresponding entries in the settings dialog). The status bar at the bottom doesn't even show new mails. It goes like this: New mail arrives, folder gets marked bold and number of new mails is shown in blue behind it. But despite this, the status bar says "Transmission [...] complete. No new messages." BUT I have a folder for spam which is not included in the regular check interval. When I click this folder and there are new mails in it, the notification works! I get a sound and a passive popup, just like I configured it... And the status bar says "x new messages" too.
I investigated this a bit further. When the folder where new mail arrives is selected, the notification works. I have a folder tree like this: inbox sub-folder1 sub-folder2 sub-sub-folder1 ... (mail gets pre-sorted on the server by procmail) Let's say "inbox" is selected during an automatic check for new messages and a new mail is in the folder "inbox". Then the notification works as expected. But if "inbox" is selected and a new mail arrives in any other folder, then nothing happens (but strangely enough the tray icon with the number of unread messages DOES appear! I tried that today out of curiosity)... I recompiled KDE using konstruct and made sure that I made no changes to the default settings (compiler flags, configure flags etc) on two different systems (the second has gcc 3.3.3 and older libs than the other one). Same problem.
I have a new Kubuntu (6.06.1) system around where this happens too. So this is definitely a bug in kmail and not a problem of my build environment. And I have to admit, I'm feeling a bit ignored... This is a real show-stopper for me, because it stops me from using my new system with KDE 3.5.4 and I'm using my old one with 3.4.2 instead. KDE 3.5.5 is on the horizon and it doesn't look like a fix is to be expected since no one has commented so far on my report. :(
Same problem here on a Gentoo with kde 3.5.4. Notifications are working correctly with kde 3.4.x I can try to provide more information if needed.
Same bug with KDE 3.5.5. In addition to that I noticed that the tray icon does not count messages in one sub-folder. They are just being ignored when the number of unread messages is displayed there.
I'm using KDE 3.5.5 on Gentoo and can confirm this bug. The notifications are sent only for selected IMAP folder. And as I have lots of folders and a fair amount of unread mail (in total) this is really annoying. Additionally KMail sometimes counts new mails incorrectly, i.e the number of new mails in IMAP subfolders is not being updated properly.
*** This bug has been confirmed by popular vote. ***
This almost sounds like the problem in bug #83893.
I can confirm this bug still exists in KDE 3.5.7! New mail is in the inbox, but if the cursor (blue bar) in KMail is not set to this folder, then no notification will occur (neither popup nor sound event nor counter). So I have to go through my folders manually and only then the new mail(s) will be discovered by KMail and I will be notified (which is a bit useless then).
By the way: The notification seems to work if you set up your IMAP-Mailbox as a "Disconnected IMAP" mailbox. But if you set it up as a "normal" IMAP mailbox then there will not be any popup, sound or something else...
Some bugs about wrong unread count in the system tray icon: bug 75583 bug 83893 bug 87738 bug 119350 bug 131917
This bug still seems to be in 3.5.9. Haven't tried the DIMAP.
Merging the duplicate bugs. *** This bug has been marked as a duplicate of bug 75583 ***