User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) konqueror/4.8.0 Safari/534.34 Build Identifier: So, after using KMail2 for about 3 months, I've finally been bitten by a data loss bug. I tried to move a moderate number of mails (~40) from one folder to another within the same IMAP account. KMail2 seemed to have copied them correctly, but then didn't display anything when I tried to click on some of the mails in the new folder. (Instead, I just saw the green image that shows up while KMail is connecting to an IMAP account.) After a while of nothing happening, I stopped and restared akonadi. The result was that the mails had disappeared from the original folder but never arrived in the new folder. This is rather annoying. These were important mails, actually. Why are mails being deleted in the original location when they haven't safely arrived in the new location yet? Reproducible: Didn't try Steps to Reproduce: 1. Move mails from one folder to another. 2. Kmail hangs. 3. Stop akonadi. Actual Results: Data loss. Expected Results: Mails arrive safely in new location.
Sorry for the late answer about it. We fixed some cases when mail loss could happen. If you still know, can you tell if the account was "offline" when you moved? Did the mails completely disappear or "just" their body disappeared?
I think what happened is that the network connection got interrupted while the messages were being moved. The messages disappeared from the source folder and they never arrived in the target folder, i.e., they were completely lost.
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.