Created attachment 64939 [details] ls -ltr in ~/.kde/share/apps/kmail/mail/trash/new +++ This bug was initially created as a clone of Bug #272920 +++ See bug 272920 for the background story. Short version: In version 2.0.95 KMail somehow put some mails which were supposed to be stored in my IMAP Trash folder in the local folders ("KMail Folders") trash folder. But I couldn't see them. Over the time I accumulated quite some mails in that trash folder, nowdays it shows 73 unread mails but when I select it, I can't see anything, the folder spinner doesn't stop spinning. Today I noticed the popup "Kmail Folders: Given item identifier is empty" for the first time. I'll attach the full output of ls -ltr in the trash folder, but here's an excerpt: mss@TreeHouse:~/.kde/share/apps/kmail/mail/trash/new$ ls -ltr total 25004 -rw-r--r-- 1 mss mss 2053 2011-05-10 09:27 {d7d6a236-930f-48bf-b903-4bdf2236a522} -rw-r--r-- 1 mss mss 14580 2011-05-10 09:27 {f018b095-2de2-4e5f-9d11-35de68fb3fe4} [1043 lines snipped] -rw-r--r-- 1 mss mss 1249 2011-10-24 11:20 {2be37c9d-c785-49dd-8a66-6a786c301c8e} -rw-r--r-- 1 mss mss 6172 2011-10-24 12:35 {48181632-f49d-4506-894c-3a6a56206fa1} -rw-r--r-- 1 mss mss 9838 2011-10-27 11:46 1319708816.R383.TreeHouse
Hit submit too fast, I wanted to add: The last mail with the "proper" Maildir name was added by KMail 4.7.2.
Is this reproducible with recent KMail (4.7.2+, preferabbly 4.8). I mean, do you see the bug if you have a clean trash and move IMAP mails to that trash with the new KMail?
My Trash folder in the local folders is still broken in 4.8.0, I get a "Unknown error. (Unable to fetch item from backend)" dialog and the "Given Item Identifier is empty" popup. I could clean up that trash folder but shouldn't KMail be able to cope with the stuff in there? Once I rm'd the folder we won't have a testcase anymore...
No, don't clean the trash, or rather, try the following: copy the trash folder (outside of KMail) to another folder in the same directory. Eg. you had Mail/trash, copy it as Mail/trash2. Can you open the mails now from trash2?
I just noticed two things: - is your resource really maildir? Check with akonadiconsole, Agents tab, click on the account and see in Details the Type. - there was a commit today to git: https://projects.kde.org/projects/kde/kdepim-runtime/repository/revisions/c5fa16ce5af42cdfafb48dd2b6baa0b3f7c404a1 The description of the problem that it fixes sounds similar.
Can you still see the problem in 4.9.2?
Sorry, I don't have this folder around anymore.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!