[BUG] KMail Filters no longer work upon receiving email

As the title says, as of the Stable Update of 2021.08.09, KMail no longer filters any incoming mail. Everything simply arrives in the generic inbox and stays there.

Manually applying the filters by way of the default Ctrl+J shortcut does however work and moves the selected emails into their designated mail folders, which means that the filters themselves are still properly configured to do what they are intended to do.

An older bug report (from 2018) already existed at bugs.kde.org, but I’ve bumped it with a new post.

Added 10 votes (half the maximum for that post) to increase the priority.


1 Like

Followup: For no apparent reason, automatic filtering works again now, after having logged out and logged back in.

It is strange, because when the filters didn’t work, I closed KMail completely and then restarted it, but that didn’t make any difference; it still wouldn’t apply automatic filtering on incoming mail. So perhaps it’s got something to do with a memory-resident shared library.

That said however, it has already happened in the past that KMail would also not apply automatic filtering on startup ─ I’ve got it set to automatically check for mail when the program is started ─ but then that never persisted, and subsequent new emails would always be neatly redirected to their intended destination folders.

So the bug was already there, but for some reason, it chose to persist across the entire session ─ and even after a KMail restart ─ after the 2021.08.09 Stable Update.

And yes, of course, I always update my system from the command line while completely logged out of Plasma, and I also always reboot my system after the update. But somehow, the bug got triggered and persisted for two days, until I completely logged out of Plasma and logged back in.

This sort of behavior implies that it’s not just a straightforward bug, but possibly something ado with a race condition and/or a symbol lookup. And I’m not a programmer, but in my understanding, then that in turn would indeed be pointing at a shared KDE library, because simply restarting the application wasn’t enough to get rid of the bug ─ it needed a complete logout.

Anyway, thanks to @Fabby, and anyone else who read through this thread and bumped the votes for this bug over at bugs.kde.org. :wink:


1 Like