Bug 173644

Summary: Working with Gmail Imap is very buggy in both Disconnected and normal Imap mode
Product: [Applications] kmail Reporter: Jens Stimpfle <webaccmail>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: lemma
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jens Stimpfle 2008-10-27 00:12:37 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

Hello, I'm using Kmail 1.10.1 with the all new Kubuntu 8.10 RC.

As Gmail Imap users know, it is kinda complex to get it working with different mail clients. One important thing to know is for example, that explicite deleting of a mail in [Google Mail]/All Mail folder dont work. Possibly due to a "security mechanism" mails come back after a short period of time or arent deleted at all, I dont know.
If you want to delete a message from Gmail servers using IMAP, you first have to move it to the [Google Mail]/Trash folder, and then explicitly delete it from there. So if I change the Trash folder from Local Trash to Gmail Trash in Kmail settings, the following bug does not appear anymore (even if I assume it still exists for example for server faults, where a message is not deleted correctly).

Now the problem with IMAP as well as with Disconnected IMAP mode in Kmail is that such "incorrectly" deleted messages arent displayed anymore, though indeed still existing on the Gmail server (This I approved with Gmail webiface as well as with Thunderbird).
The only way to see these messages again to be able to really delete them is to delete the Kmail account and set it up new. Neither deleting the messages from Local Trash (assuming this could represent some server actions queue) nor receiving new emails which I assume to initiate an update of the All Mail folder can fix it, the messages never appear again in Kmail.

In Disconnected Mode I had quite the feeling that the actions list (which contains the delete commands) is processed on the server again and again, but Im not sure.
Comment 1 Michael Leupold 2008-12-17 10:19:52 UTC
While I can still reproduce this using disconnected IMAP on 4.1.3 it works with both online and disconnected IMAP in kmail 4.10.92 (trunk r897922).