Summary: | Some kmail filters are not applied | ||
---|---|---|---|
Product: | [Applications] kdepim | Reporter: | Hatto Von Hatzfeld <hatto> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hatto, montel |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Bash script used to repair a broken filter set |
4.14.10 is a very old version (5.2 was released 2 weeks ago) and this bug is fixed from long time. |
Created attachment 98750 [details] Bash script used to repair a broken filter set Using the copy function in kmail dialogue causes some filters not to be applied afterwards. Steps to reproduce the bug: - open the kmail filter dialogue - create a simple filter "test one", which marks a mail as ham if the subject contains "This is test one" - click the copy button, rename the new filter as "test two" and changed the search pattern to "This is test two" - close the kmail filter dialogue by "OK" - open the filter protocol, make this function show _all_ details - right click on any mail to apply "test one" - right click on the same mail to apply "test two" Result: Both filters use the same pattern Expected result: Each of the two filters will use its own pattern I think I have found the reason of this bug and a workaround: Exporting such a filter set, I find duplicate identifiers in the exported file. When I apply the script attached below and reimport its result (after having deleted the buggy filters), the filters do not show the buggy behaviour any more. My system: OpenSuse 42.1 Leap with kmail 4.14.10 (German)