Summary: | Local Folders sometimes duplicated | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Thomas McGuire <mcguire> |
Component: | folders | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | faure, lfranchi, sabine |
Priority: | VHI | Keywords: | akonadi-ports-regression |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 223438 |
Description
Thomas McGuire
2010-05-03 23:27:32 UTC
Seems to come from the maildispatcher_agent. I saw this in its debug output: Akonadi::DefaultResourceJobPrivate::tryFetchResource: Read defaultResourceId "akonadi_maildir_resource_12" from config. Akonadi::DefaultResourceJobPrivate::tryFetchResource: Creating maildir resource. Akonadi::DefaultResourceJobPrivate::resourceCreateResult: Created maildir resource with id "akonadi_maildir_resource_13" ...but there was already a maildir resource running, the _11 one. So it looks like it wanted to find 12, didn't find it, and created 13, instead of using 11. The reason for "11 vs 12" was that there were two and sabine deleted the "12" one though. A duplicate of the Local Folders appears randomly while doing nothing on the computer (I was away and when I came back I had two of them). It is impossible to reproduce on purpose and at will at the moment. However both 'Local Folders' cannot work simultaneously. One as to be removed: - Go to Settings menu/Configure Kmail and click on Accounts - Delete the offline 'Local Folders' if there is one otherwise delete both of them. - A new 'Local Folders' is automatically created - Click on 'Ok' Trunk, Svn Rev 1128166 For the emails to be stored properly again in the sent-mail folder once sent follow those steps: - Go to Settings menu/Configure Kmail and click on Identities - Double click on your set identity - A pop up error message appears: 'The custom sent-mail folder for identity 'IdentityName' does not exist (anymore); therefore, the default sent-mail folder will be used. - Click on 'Ok' - One message per folder from the default 'Local Folders' folders will appear saying the same (ex: drafts, templates...) - Click on 'Ok' several time and close the Configure dialogue when done - Quit and relaunch Kmail - Sent emails are stored in the 'sent-email' folder again as they should. Trunk, Svn Rev 1128166 I reported bug #238056 about storing the sent emails in the sent-email folder again (ref comment 3 above) so that the two bugs are dissociated. Trunk, Svn Rev 1128166 I believe this was fixed recently too, and I have not had multiple local folder collections in a few weeks. can anyone still reproduce the problem? Just happened to me again. Apparently happens when you start KMail when Akonadi and KDE is not yet running. Then KMail triggers KDE and Akonadi startup, which takes a long time, and that seems to trigger a race. Startup log at http://pastebin.com:80/6pn3YPFT SVN commit 1135698 by lfranchi: Only init folders if Akonadi is in a running state. If not, wait until the ServerManager tells us that Akonadi has finished starting, and then init the local folders. CCBUG: 236247 M +18 -1 kmail/kmkernel.cpp M +3 -1 kmail/kmkernel.h M messagecomposer/tests/gnupg_home/random_seed WebSVN link: http://websvn.kde.org/?view=rev&revision=1135698 SVN commit 1135699 by lfranchi: Update agent instances as well as agent types when owner changes, this way when the AgentManager is created before the Akonadi.Control DBus interface, it will learn about new instances as well. BUG: 236247 M +17 -2 agentmanager.cpp M +7 -0 agentmanager_p.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1135699 This has not happened in a while now so I am verifying this bug. Trunk, Svn Rev 1145265 |