Re: KMail not updating source folders on move operations unless restarted

Martin Steigerwald <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <4000289.DxI1mJ6pET@merkaba>
Hi O. Sinclair,

On Thursday 11 April 2013 18:16:17 Martin Steigerwald wrote:
> On Thursday 11 April 2013 18:12:52 Martin Steigerwald wrote:
> > Hi!
> > 
> > Today I migrated my PIM setup from KDEPIM 1 from KDE SC 4.4.11 to KDEPIM
> > 2 from KDE SC 4.10.2 on my Debian Sid system.
> 
> […]
> 
> > But the more important thing is:
> > 
> > Whenever I move a mail or click on the icon for marking a mail spam via
> > a
> > manuel filter which moves it to the spam folder, the mail does not
> > disappear from the source folder of the move operation until I restart
> > KMail.
> 
> Same goes for marking messages as read.
> 
> KMail only picks up the change after I restart it.
> 
> Thus it applies all changes, but doesn´t display them in the source folder
> unless being restarted.

didn´t you reply to this?

After receiving mails today Akonadi / MySQL / Virtuoso used up between 2 and 
4 locical cores of this Intel Sandybridge i5 mobile CPU. Since I wanted to 
reply to you, I thought I restart it and see whether that gets it into a 
sane state. Then it complained it wasn´t able to delete some mails and well: 
Now I do not see your mail anymore.

Okay, it seems that restarting the Akonadi server while it is doing 
something leads to data loss. I forced a re-index of the folder and it still 
doesn´t appear:

martin@merkaba:~/.Mail/.Lichtvoll.directory/.KDE.directory/pim-users-ml/cur> 
grep "KMail not updating source folders" *
1365696861.R215.merkaba:2,RS:Subject: [kdepim-users] KMail not updating 
source folders on move operations
1365697032.R861.merkaba:2,S:Subject: Re: [kdepim-users] KMail not updating 
source folders on move

Okay, reporting this as a bug as well, after having reported:

[Akonadi] [Bug 318224] New: Tries to insert existing entries into database
https://bugs.kde.org/318224


On behalf of the subject: KMail now reacts to changes in folders.

Okay, there we go from the message pasted from list archive:


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 11/04/2013 18:16, Martin Steigerwald wrote:
> > On Thursday 11 April 2013 18:12:52 Martin Steigerwald wrote:
> >> Hi!
> >>
> >> Today I migrated my PIM setup from KDEPIM 1 from KDE SC 4.4.11 to 
> >> KDEPIM 2
> >> from KDE SC 4.10.2 on my Debian Sid system.
> > […]
> >> But the more important thing is:
> >>
> >> Whenever I move a mail or click on the icon for marking a mail spam via 
> >> a
> >> manuel filter which moves it to the spam folder, the mail does not
> >> disappear from the source folder of the move operation until I restart
> >> KMail.
> > 
> > Same goes for marking messages as read.
> > 
> > KMail only picks up the change after I restart it.
> > 
> > Thus it applies all changes, but doesn´t display them in the source 
> > folder 
> > unless being restarted.
> > 
> I see this sometimes too, there is no real "pattern" to it except for
> filtering being involved (btw CRM114 works just fine for me, I also use
> Spambayes to really harden the spamfiltering). The devs are aware, I
> have discussed this on their mailing list.

Okay. Thanks. Then I read on there.
 
> No solution just yet though, it is "mildly irritating" to me, not a
> dealbreaker.

I found it quite irritating at first.

> The autocompletion of addresses broke from 4.10.1 to 4.10.2, the bug is
> known and a fix has been committed to 4.10.3 so be patient a few weeks
> and it should work again.
> 
> I use this workaround but it does not seem to work for everyone:
> In folder HOME/.kde/share/config there is a file
> "kpimcompletionorder". Add these 2 lines:
> [General]
> UseNepomuk=true
> 
> restart KMail and hopefully completion works (you get more suggestions
> than before) and so does Groups
> 
> Whatever you do - do not set the value to "false", even Dolphin
> stopped working for unknown reasons

Okay. Thanks. I think I read something like this on kdepim mailing list.

But now I report the data loss bug. In hindsight I understand that 
restarting akonadi to get it responsive again wasn´t such a good idea, but 
it shall IMHO never lead to data loss. Wherever Akonadi stops it should pick 
up after restart.

I may be able to get the mails back, if I find out how to recent the POP3 
last mail counter to something before. They should still be on the server.

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.