This bug existed for a while before it disappeared some months (could be more than a year) ago, and now it's back. After starting my computer, which boots immediately into a KDE session, in maybe 20% of the cases I get dialogs from KMail/Akonadi asking me to pick an account for a filter rule. Currently I have two dialogs for the same filter rule, one on my work account, which moves messages marked as spam into a spam folder. There is no account listed to choose from. I have learned when this bug happened in the past that it's best to restart Akonadi, because even "Cancel" will just delete the filter rule. This might have changed (there were some commits to that effect), but I don't really want to risk it. Reproducible: Sometimes Steps to Reproduce: 1. Start computer with autologin 2. KDE session restore starts Akonadi and KMail 3. Dialogs asking for an account for filter rule(s) appear
Created attachment 81690 [details] Dialog asking for an account, with no accounts listed
Using my bugzilla rights to confirm my own bug :)
I just discovered about 200 new messages in my GMail inbox that were supposed to get filtered into different folders. This also happens sometimes when something is off in Akonadi. Not a big problem, I can just select all recent messages and "apply all filters". Maybe this information is helpful about the state of mail filters when the bug happens.
I also confirm this behaviour. In my case, the dialog is shown twice for the same filter, just one filter out of more than a dozen that I have. It targets the same filter each time. I also confirm that sometimes the filter is lost (read: deleted), but it's not clear to me in which conditions that happens. In such case, the targeted filter will change the next time. In my set up the startup of kmail happens automatically: I do not close kmail when logging out, and I have asked KDE to restore the previous session when logging on (it's just too convenient to give it up). Gentoo Linux Qt: 4.8.5 KDE Development Platform: 4.11.1 KMail: 4.11.1 Akonadi 1.10.2
same here: opensuse 13.1 with 4.11.2 Filter seems somewhat broken because sometimes all messages are put into trash and behavior is quite erratic. Sometimes no filter action takes place at all. Erasing filter does help for a day or two and then may reappear.
It might be a duplicate from https://bugs.kde.org/show_bug.cgi?id=321186 I fixed the problem yesterday. See details at: https://git.reviewboard.kde.org/r/112062/ With the title: wait until the akonadiserver is ready Write me about your experience. Thanks
Thanks Maurel for taking care of this, and sorry for taking so long to respond. I wanted to test your fix for a while, but not that long ;) I haven't seen this bug in a long time. Several months at least. If anyone still encounters this bug running master / trunk of the whole KDE & KDEPIM stack, please reopen.
Well... Dan found a problem with the fix, and made a revert. The bug might depend on the speed of the CPU. I now have a quickly CPU and no more problem! The bug doesn't appear again but isn't fixed.
I get sometimes the problem yet. KDE 4.13.3 on SUSE 13.1. Could this problem cause the delete any filter rules on ongoing mails? How quick should a CPU be to avoid it? My PC has a 4-core x 3.0 GHz. It is quick enough?
I also have this sometimes when I start Kontact. A dialog pops up and wants me to choose an account from an empty list. After that the filter is gone.
Oops, too fast: I'm running the 4.14 branch.
Running Kubuntu 14.10 and I'm still seeing this bug on both dual core and quad core computers. Didn't realise until this morning that when you dismiss the dialogue box that appears - and has no options other than ok and cancel - that filter is deleted.
Mark, I can confirm your experience. Since a couple of weeks this filter dialog box is appering almost every time on starting kontakt. KDE 4.14.3 on openSUSE 13.1 x64
I also confirm this bug. Gentoo Linux amd64 Qt: 5.5.1 Kontact 5.1.3 (KDEPIM 15.12.3) Akonadi 15.12.3 What additional info you need?
I confirm this bug for Leap 42.1 and both, the KDE4 version of Kmail 4.14.10 (Akonadi 4.14.10) as for the available Plasma 5 version with Qt:5.5.1 Kontact 15.12.3 and Akonadi 15.12.4 Both versions show the very same bug, an empty pop-up window claiming that the account for some filter rule is not found, you can click OK by choosing an empty line, sometimes this holds the filter rule alive, sometimes it vanishes. If you choose cancel, generally the filer rule vanishes. Sometimes even multiple filter vanish. Filters generally vanish one by one in chronological order of the filter list. What I discovered else, this but can be easily triggered by choosing not to apply a filter to multiple accounts (pop) if you have them but only to "one specific account". Especially if other filters are applied to all accounts indiscriminately (like pop-filters or spam and clamav filters). It appears the problem lies there somewhere. This is a very tedious bug, because on one hand constant and also sometimes hidden (no popup and you find out that some filter over the time vanish). I once had lost 50 % of all rules without warning. So this is valid for me for POP filtering and for both KDE4 version and Plasma 5 version of this programme.
I can confirm this problem for kmail/kontact 5.2.3 and akonadi 5.2.2 (currently in Debian testing). 1. The dialogs pop up when there is an automatic incoming mail filter set to filter only some of all available accounts. (In my case there are four IMAP accounts and I want to spam-filter two of them. I use bogofilter.) 2. The dialogs pop up *before* kmail or kontact are actually started, just after logging in. (Presumably when KDE starts akonadi?) 3. There is more than one dialog. (In my case there are two, presumably for the two checked IMAP accounts I want to filter.) 4. There is no workaround other than turning automatic filtering off and filtering manually. In particular, leaving the message boxes open and restarting akonadi, or leaving them open without doing anything doesn't work — no filtering gets done. 5. I cannot confirm that this is due to a slow CPU or old hardware. I have a fairly modern laptop (Intel i3-3110M @ 2.40GHz, 4GB RAM). I suggest to give the bug high priority. To me, a non-working spam filter is a show stopper for a mail client.
It still happens sometimes - for me, maybe on every 20th login.
Happens to me on every login. All my filters are lost and I have to add them again.