Bug 96089 - Add groups and names to filters
Summary: Add groups and names to filters
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 19381 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-31 20:39 UTC by Zachary Jensen
Modified: 2012-08-19 00:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zachary Jensen 2004-12-31 20:39:37 UTC
Version:            (using KDE KDE 3.3.2)
Installed from:    Gentoo Packages

I have a larger number of filters in KMail. It is beginning to become cumbersome to track all of them, and what exactly they do.

Instead of having to remember all of their characteristics (or figure them out when dealing with RegEx'd expressions), it would be nice if the filter dialog provided naming for each filter. That name would be displayed on the filter list, instead of the filter characteristics.

For instance, say I have a filter that matches the following regex:
(foo|bar)?[:digit:]*@kde\.org

Now, this is not too complex for a regular expression, but it demonstrates the complexity of just one. If that were to be combined with a few others, figuring out what the filter does as a whole can become tedious. Providing a name text box would allow a user to assign, say "FooBars @ KDE", which is much easier to recognize.

--------
The second half of this is to allow filters to be assigned to groups or folders (similarly to how gestures are organized in the control center). This allows a hierarchy of filters to be made. That way, groups of similar filters can be moved at the same time, and could also be collapsed, so the selection box doesn't seem as daunting.

e.g. I have the foobar filter from above, and I also have a few other filters for KDE: KDE Bugs, KDE Announcements, KDE Mailing Lists

The current system would arrange them like so:
|- KDE Bugs
|- KDE Announcements
|- KDE Mailing Lists
|- FooBars @ KDE

With the group system, I could arrange them as follows:
+ KDE
|- KDE Bugs
|- KDE Announcements
|- KDE Mailing Lists
|- FooBars @ KDE

Then, all of the menu items would collapse onto KDE, making them into a nice little folder.
Comment 1 Brad Hards 2005-01-01 23:59:01 UTC
If I understand you, the first part of this is already available. Does the rename button in the Filter dialog not do what you want?

The problem with the second part is that filters are run in order. So the grouping would have to reflect the order.
Comment 2 Zachary Jensen 2005-01-02 20:32:57 UTC
Oh. Sorry about the renaming, I didn't see the rename button. 

I think it is more intuitive to assign names to the filters as they are created and modified, then to have a rename button on the bottom of the list. The buttons on the bottom seem crowded together, and so many users might not pay attention to them.

If the name field is left blank, the dialog would default to the current behavior. If the developers are afraid that may make the interface seem to complex, then maybe the advanced options should be hidden behind a button (as they are in kcontrol).

--
As for the grouping:
Hmm... that would be strange. I was thinking that the groups of filters would be run in order, just as they are now. Only 2 differences would occur:
1) You could collapse parts of the list to make it easier to see.
2) You can move groups of filters if you wish to change the order. (So, I could have my filters run KDE lists first, then go through my friends. But then, say, some of my friends join the project, I could simply move the first group down one.)

Basically, the groups would be equivalent to syntactic sugar.

I am not sure how other people have their lists organized, but mine tends to have many of the same people organized in chunks. For instance, I have a set of filters for my family, then sets for mailing lists, then ones to sort the KDE bugs/etc that I report, and on and on down the list. So, that seemed like reasonable behavior to me. If it shouldn't be there in your opinion, then It is not a big deal.

This may be another area where investigation of how people use and set up their filter lists would be convenient.
Comment 3 Bram Schoenmakers 2007-05-17 17:25:38 UTC
*** Bug 19381 has been marked as a duplicate of this bug. ***
Comment 4 Christian Loose 2008-01-21 10:54:47 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Myriam Schweingruber 2012-08-18 08:29:14 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 6 Luigi Toscano 2012-08-19 00:46:03 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.