Bug 449329 - ENH: Filter should support full Boolean logic
Summary: ENH: Filter should support full Boolean logic
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.15.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-29 15:49 UTC by quazgar
Modified: 2022-01-29 15:49 UTC (History)
0 users

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 quazgar 2022-01-29 15:49:57 UTC
SUMMARY

Currently the mail filters only support full conjunction (AND) or disjunction (OR) over all criteria.  The filters could become much more expressive if nested criteria could be defined, such as `a AND (b OR c)` or even `(NOT "From = foo") AND ("Subject = Interesting")`.

For me this would resolve use cases where for example I receive mails to different addresses on the same mailbox, and I want to apply different filters on some of them.

UI/UX IDEAS

Unfortunately I do not have a completely intuitive UI in mind which would be ideal for casual and power filter users alike.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Currently 5.15.3 (20.08.3) on Debian Bullseye