Bug 418176

Summary: Can’t change message status condition in filter configuration
Product: [Applications] kmail2 Reporter: Laura David Hurka <laura.stern>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.13.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: All entries called “Message status“

Description Laura David Hurka 2020-02-25 13:32:57 UTC
Created attachment 126405 [details]
All entries called “Message status“

SUMMARY
I can’t select any other message status than Important (orange exclamation mark) in the filter condition configuration.

STEPS TO REPRODUCE
1. Create a filter
2. Create a condition with message status Unread (or any other)
3. Click OK or Apply

OBSERVED RESULT
Message status is instantly changed to Important.

EXPECTED RESULT
Message status stays as selected.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.18.1 
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

BONUS
All message statuses are called “Message Status”, see screenshot. I think this is a problem with some i18nc calls with bad argument order. 

“Important” is the first entry in the dropdown list. I imagine that the first matching entry “Message Status” is selected, because the list always returns “Message Status”. If someone understands what I mean...