Yes, with default TB delete settings and default gmail IMAP settings, when you "shift-delete" a message it is marked as deleted by TB and in the imap "uid store" response, the message is expunged. The "archive" copy of the message remains in "All Mail". If I disable gmail's "auto-expunge" and choose "when marked deleted and expunged from all visible folders, immediately delete the message forever", when I "shift-delete" a message, the message is marked as deleted by TB and, as expected, gmail does not report that it is expunged. Then I "compact" the folder to trigger and imap expunge and the the imap expunge response reports the marked deleted message as expunged. However, the message still remains in "All Mail". I was thinking maybe I had copied the same message to another "visible" folder, but I don't think had. So, to be sure, I went to another non-gmail account and sent a new message to the gmail account and repeated the sequence on the new message in Inbox: - Verified the new message is visible in Inbox and All Mail - Shift-delete the new message in Inbox - IMAP:4 log shows the \deleted flag is stored on the message, no expunge of the message occurs - Compact Inbox to force an imap expunge on the mailbox - IMAP:4 log show the message expunged in the imap expunge response - Looking at All Mail with TB, the message is still there and no message expunge response observed in IMAP:4 log - Looking in All Mall on gmail.com site, the message is still there but, of course, gone from Inbox So monperrus, maybe you get different results (or I'm missing something)? Also, to be clear, this is without your proposed patch to conditionally force an expunge when a message is deleted.
Bug 1759335 Comment 12 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Yes, with default TB delete settings and default gmail IMAP settings, when you "shift-delete" a message it is marked as deleted by TB and in the imap "uid store" response, the message is expunged. The "archive" copy of the message remains in "All Mail". If I disable gmail's "auto-expunge" and choose "when marked deleted and expunged from all visible folders, immediately delete the message forever", when I "shift-delete" a message, the message is marked as deleted by TB and, as expected, gmail does not report that it is expunged. Then I "compact" the folder to trigger and imap expunge and the the imap expunge response reports the marked deleted message as expunged. However, the message still remains in "All Mail". I was thinking maybe I had copied the same message to another "visible" folder, but I don't think had. So, to be sure, I went to another non-gmail account and sent a new message to the gmail account and repeated the sequence on the new message in Inbox: - Verified the new message is visible in Inbox and All Mail - Shift-delete the new message in Inbox - IMAP:4 log shows the \deleted flag is stored on the message, no expunge of the message occurs - Compact Inbox to force an imap expunge on the mailbox - IMAP:4 log show the message expunged in the imap expunge response - Looking at All Mail with TB, the message is still there and no message expunge response observed in IMAP:4 log - Looking in All Mall on gmail.com site, the message is still there but, of course, gone from Inbox So monperrus, maybe you get different results (or I'm missing something)? Also, to be clear, this is without your proposed patch to conditionally force an expunge when a message is deleted: Re: bug 399475