Bug 333956

Summary: Provide more flexibility on the settings of notifications and indexing to handle dynamic folders
Product: [Applications] kmail2 Reporter: Stefanos Harhalakis <v13>
Component: foldersAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 4.12.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefanos Harhalakis 2014-04-27 13:26:14 UTC
Hi,

First of all the use case:
* IMAP
* A folder that gets rotated at the server side (a spam folder), causing it to be renamed and then recreated
* "Need" to keep notifications and indexing disabled for this folder

With the current setup kmail loses the settings of that folder every time it gets rotated. My current settings are not to act (notify) on email on the spam folder and not to index it. However these settings cannot be preserved once the folder goes away.

I can think of three solutions for this:
1) Add a per-account (or even global) configurable default setting for notifications and indexing. After that one can completely disable this for an account and then enable it per folder
2) Change the existing per folder setting to support three options: Enabled, Disabled, Use parent's/Inherit
3) Change the default "notification" and "indexing" settings to "disabled"

Thanks,
Stefanos


Reproducible: Always

Steps to Reproduce:
1. Use IMAP
2. Disable notifications on a folder
3. Remove the folder and recreate it. Maybe allow KMail to fetch emails in between
Actual Results:  
Settings for the folder get reset