Bug 419720

Summary: Message status filter broken
Product: [Applications] kmail2 Reporter: Christoph Vogtländer <kde>
Component: searchAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: 5.13.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.14.0
Sentry Crash Report:
Attachments: Find Messages dialogue screen shot

Description Christoph Vogtländer 2020-04-06 13:49:52 UTC
Created attachment 127324 [details]
Find Messages dialogue screen shot

SUMMARY
The message status filter reads "message status" for all fields. Only the icon gives a hint of what is actually meant. Using such a filter does not work. E.g. using "action item" entry, will show mails even without an action item marker.
Re-opening the "Find Messages" dialogue seems to reset the selection in the drop down to the first entry.


STEPS TO REPRODUCE
1. open "Find Messages"
2. select "Message Status"
3. select type "[action item icon] message status" entry

OBSERVED RESULT
Mails without action item marker are included in the result

EXPECTED RESULT
Only mails with action item marker should be included in the result

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.2


ADDITIONAL INFORMATION
Saved filters seem to work fine. I have an old filter which is searching for "important" mails that is still working.
Comment 1 Laurent Montel 2020-04-06 15:30:16 UTC
I confirm it
Comment 2 Laurent Montel 2020-04-06 18:38:34 UTC
Git commit c67e7be97d5074030f816e2906ed013919cddd19 by Laurent Montel.
Committed on 06/04/2020 at 18:37.
Pushed by mlaurent into branch 'release/20.04'.

Fix Bug 419720 - Message status filter broken

FIXED-IN: 5.14.0

M  +1    -1    src/search/searchrule/searchrulestatus.h

https://commits.kde.org/mailcommon/c67e7be97d5074030f816e2906ed013919cddd19