Bug 131917 - No notification about new mails with IMAP
Summary: No notification about new mails with IMAP
Status: RESOLVED DUPLICATE of bug 75583
Alias: None
Product: kmail
Classification: Unmaintained
Component: IMAP (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-05 15:43 UTC by Chris Schwemmer
Modified: 2008-11-09 13:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Schwemmer 2006-08-05 15:43:34 UTC
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.
Comment 1 Chris Schwemmer 2006-09-09 20:22:40 UTC
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.
Comment 2 Chris Schwemmer 2006-09-27 17:33:11 UTC
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. :(
Comment 3 boulan 2006-10-01 09:30:30 UTC
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.
Comment 4 Chris Schwemmer 2006-11-05 17:33:05 UTC
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.
Comment 5 Elvis Pranskevichus 2006-11-06 17:50:06 UTC
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.
Comment 6 Doualot Nicolas 2006-12-13 17:43:21 UTC
*** This bug has been confirmed by popular vote. ***
Comment 7 Thomas McGuire 2007-02-13 11:55:37 UTC
This almost sounds like the problem in bug #83893.
Comment 8 n8schicht 2007-05-25 16:31:33 UTC
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).
Comment 9 n8schicht 2007-05-25 16:37:45 UTC
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...
Comment 10 Thomas McGuire 2008-02-17 02:39:00 UTC
Some bugs about wrong unread count in the system tray icon:

bug 75583
bug 83893
bug 87738
bug 119350
bug 131917

Comment 11 dag 2008-09-02 14:38:29 UTC
This bug still seems to be in 3.5.9. Haven't tried the DIMAP.
Comment 12 Christophe Marin 2008-11-09 13:24:59 UTC
Merging the duplicate bugs.

*** This bug has been marked as a duplicate of bug 75583 ***