trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2017

Re: Kmail not saving/importing filters

From: deloptes <deloptes@...>
Date: Fri, 03 Mar 2017 21:06:25 +0100
Russell Brown wrote:

> WeaverThreadLogger: thread (ID: 3) suspended.
>>WeaverThreadLogger: thread (ID: 2) suspended.
>>WeaverThreadLogger: thread (ID: 1) suspended.
>>WeaverThreadLogger: thread (ID: 4) suspended.
> 

This is Kmail shutting down

> Some of that is obviously because I'm running via ssh -X but none of it
> obviously applies to kmail.
> 
> Go to Settings->Configure Filters and there are no filters shown.
> 
> ~/.trinity/share/config/kmailrc still contains the [Filter #0] section
> but kmail's just not read it in or ignored it.
> 
> Try the import thing again... and I get the same result as before.
> 
> Ummmmmmmmm..... any ideas?
> 
> I'm happy to compile/debug/try test versions etc but I've no idea where
> start looking in the kmail source.
> 

kmail is in TDEPIM - perhaps it is best to open a bug ticket first.
Check the file permissions on the file and tree, but when you write file
gets modified, it shouldn't be a problem

If you want to debug compile with Debug option and set markers. Look into
bugs - there are few related to kmail.

you will be looking at
kmail/kmkernel.cpp:  // this shares the kmailrc parsing too (via
TDESharedConfig), and reads values from it
kmail/kmkernel.cpp:    mySelf->mConfig =
TDESharedConfig::openConfig( "kmailrc" );

Before doing this have a look into the newer versions provided by Slavek,
perhaps the problem is fixed, because I am using the development (14.1)
version and I can not reproduce the problem.
I do "Settings" -> "Create Filters"
then after creating some rule I apply/ok
I closed/opened Kmail and filter rule is still there. I even rebooted and it
is still there.
So either you have some local problem or it is fixed in 14.1. Check the bugs
around KMail.

regards