(1) If I search for foo and bar then I get mails containing both foo and bar (2) If I search for foo and ~bar (using "does not contain") I should get mails containing foo but not bar, however, I get the same results as (1) It looks like "does not contain" is being ignored Reproducible: Always Steps to Reproduce: search emails using the search dialogue, search to "does not contain" and get the results containing your search term. Actual Results: does not contain is ignored or translated to "contains" Expected Results: results shouldn't contain search term
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
I cannot confirm this for 5.1.3 because searching is broken there and all search produce no results regardless of the logic filters applied.
I set this to confirmed for now. I plan to file through search related bugs soon, and then sort them out accordingly. Thank you for your feedback
*** Bug 335825 has been marked as a duplicate of this bug. ***
Confirmed for 5.4.1. Searching for messages with subjects that do not contain "foo" comes up with those that contain "foo".
*** Bug 364903 has been marked as a duplicate of this bug. ***
According to Bug 364903, this also does not work for "equals" or anything else instead of "does not contain". Basically, it is always treated as "contains".