Bug 304393 - Searching Match all/Match any is inconsistent
Summary: Searching Match all/Match any is inconsistent
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-01 18:56 UTC by Michael Reiher
Modified: 2012-10-16 06:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.10


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Reiher 2012-08-01 18:56:49 UTC
In both examples I have Match all ... selected, which is default.

Example 1)
In the first rule I enter: From contains foo
-> search work fine, I get my results

Example 2)
In the first rule I enter: Message Status is Important
-> search fails, I get no results
-> if I change "Match all" to "Match any" the search works fine!

This inconsistent. Actually if only the first rule has content it shouldn't matter at all whether its "all" or "any". Empty rules should be ignored all together.

And why is there a second rule at all? It can easily be added when it's needed and wouldn't create unnecessary confusion.

Reproducible: Always
Comment 1 Laurent Montel 2012-08-01 19:58:33 UTC
"Message Status is Important" it's can't work because it's not stored in nepomuk.
So I don't know how you can have result...

And it's already reported that status is not stored
Comment 2 Michael Reiher 2012-08-02 09:31:06 UTC
If you don't know why this works, I have no idea... ;)

All I can say is that the result doesn't seem completely random. It shows messages that either are currently flagged Important or were in the past. But it's also missing some newer ones, as I just noticed. Hmm, no idea what's going on.
Comment 3 Laurent Montel 2012-10-16 06:39:25 UTC
I fixed search status yesterday.
Now all status are stored in database.