Bug 285641 - improve the filtering conditions handling
Summary: improve the filtering conditions handling
Status: CONFIRMED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Filter Agent (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 12:06 UTC by Christophe Marin
Modified: 2017-06-02 15:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Marin 2011-11-03 12:06:09 UTC
Using master,

Currently when setting a filter, you can select match all or match any. This solution is fine when there is only two conditions but fails if there are more, eg:

condA AND (condB or condC) is not possible.

Use case:
filter messages sent to kde-commits and that match (X-Commit-Project="kde-runtime" OR X-Commit-Directories contains "kdebase/runtime")
Comment 1 Laurent Montel 2011-11-03 12:39:23 UTC
We need to create a interface for it.
Not easy to create it.

Do you have some idea ?
Comment 2 Christoph Feck 2017-06-02 15:24:03 UTC
The Device Actions KCM (kcmshell5 solid-actions) has an editor which allows nested AND and OR conditions (visualized using a tree).