Bug 70803 - Removing a folder should remove filters that relate to it
Summary: Removing a folder should remove filters that relate to it
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: 1.9.8
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 152239 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-19 04:24 UTC by Gustavo Sverzut Barbieri
Modified: 2012-08-19 00:58 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 Gustavo Sverzut Barbieri 2003-12-19 04:24:20 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

I'm using KMail from Debian cvs builds 'cause I want the Disconnected IMAP + Filters.

I have filters working all right, but when I removed one folder (from IMAP), it should remove the filter (or at least ask for an action), since the filter moves the message to that folder.

I don't have any other account to test, but maybe this behaviour is present in other pop/imap/mbox/maildir accounts?


Gustavo
Comment 1 Ingo Klöcker 2003-12-19 10:42:20 UTC
no bug
Comment 2 Gustavo Sverzut Barbieri 2003-12-19 16:51:33 UTC
Sorry man,

But that IS a BUG. Kmail should present at least a warning about that filter refering to the deleted folder.
   What happens to the mail filtered to that folder? It creates that folder again? Leave the mail (don't filter)? It's not predictable.
   I don't know kmail internals, but i don't think it's too dificult to fix, just travesse the filter's list relating the folder and then present a message:

"The filter <FILTER> refers to the folder <FOLDER>, which you want to delete. What to do?
[Delete the Folder and Filter] [Delete just Folder] [Abort]
"

   Sure, you should put better, more kde-like, message.   

   Please reconsider this as a bug.

Gustavo
Comment 3 Thomas McGuire 2007-11-22 17:45:57 UTC
*** Bug 152239 has been marked as a duplicate of this bug. ***
Comment 4 Maciej Pilichowski 2007-11-22 18:44:39 UTC
Quote from my duplicate:
"
I think that after deleting it would be good to show filters dialog and highlight all affected rules. If none -- of course do not show that dialog. 
"

And of course _clear_ info about what will happen with "filtered" message with deleted folder as Gustavo pointed out.
Comment 5 Maciej Pilichowski 2007-11-22 18:50:13 UTC
PS. Gosh -- the summary is scaring -- of course deleting folder should NOT have effect of deleting a rule -- it is a lot of work sometimes put there.
Comment 6 Myriam Schweingruber 2012-08-18 08:58:05 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 7 Luigi Toscano 2012-08-19 00:58:10 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.