Bug 287319

Summary: Filters lose their name when you edit them
Product: [Applications] kmail2 Reporter: Jonathan M Davis <bugs.kde.org>
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: montel
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan M Davis 2011-11-23 00:16:25 UTC
Version:           4.7 (using KDE 4.7.3) 
OS:                Linux

If I edit the filter criteria for an existing filter, it loses name and renames itself to the first filter criteria. For instance, if I had a filter named Google+ which filtered on e-mails whose from contains @plus.google.com, and I edit the filter critera, it's renamed to <From>: @plus.google.com.

Reproducible: Always

Steps to Reproduce:
Edit the filter criteria of an existing filter in kmail.

Actual Results:  
The filter is renamed to the first filter criteria for that filter.

Expected Results:  
The filter name is unchanged.
Comment 1 Laurent Montel 2011-11-23 08:01:14 UTC
It's normal otherwise you must rename it and after that it will not change name.
Comment 2 Jonathan M Davis 2011-11-23 08:19:06 UTC
If I wanted to rename it, I'd click on the "rename" button and rename it. Having the name change because the filter criteria changed is _highly_ annoying. If this is as designed, it's a major mis-feature IMHO.