Closed Bug 1649789 Opened 4 years ago Closed 1 year ago

When moving messages out of imap mailbox, the "Delete" action is not processed correctly (affects gmail)

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1759335

People

(Reporter: chaz, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

I have an IMAP account and a set of local folders. The IMAP account exists on gmail. I have configured the IMAP account so that deleted messages are moved to the special Gmail Trash folder (as Gmail does not have folders but instead uses labels, so to actually delete messages they must be moved to a special folder).

I then moved some messages from a folder in the IMAP account to a local folder.

Actual results:

A copy of the messages is placed in the local folder, and the label is removed from the messages in the IMAP account.

Expected results:

Thunderbird should have moved the messages in the IMAP account to the Trash folder so that they are actually deleted in gmail.

See anything in developer tools > error console?

Flags: needinfo?(chaz)

(In reply to Wayne Mery (:wsmwk) from comment #1)

See anything in developer tools > error console?

The only thing I saw is this, not sure if it is related:-

    getActivity resource://gre/modules/ActivityManager.jsm:127
    removeActivity resource://gre/modules/ActivityManager.jsm:80
    onFolderRemovedFromQ resource:///modules/activity/autosync.jsm:244
    _timerCallback resource:///modules/AppIdleManager.jsm:30
Flags: needinfo?(chaz)

Sorry. cut off the first line; here is the full output:-

NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:127
    getActivity resource://gre/modules/ActivityManager.jsm:127
    removeActivity resource://gre/modules/ActivityManager.jsm:80
    onFolderRemovedFromQ resource:///modules/activity/autosync.jsm:244
    _timerCallback resource:///modules/AppIdleManager.jsm:30

Is anyone able to work on this? It is really making working with my gmail account a nightmare! I have ended up with lots of duplicate messages when I try and archive from gmail to a local folder, and the mails are still lingering on the server and have not been properly deleted but are now lingering in "All Mail" as the labels have been removed. It would be really helpful if Thunderbolt performed the account delete action properly. Thank you.

See Also: → 1759335
Blocks: tb-gmailWIP
See Also: → 651945

I have this problem. When I move a mail from a gmail account to another IMAP account (postfix/dovecot), the mail remains in the "All Mail" folder in the gmail account, It's not deleted as it should.

Which I guess is consistent with the server side setting (mail.google.com > See all settings > Forwarding and POP/IMAP > IMAP Access) When a message is marked as deleted and expunged from the last visible IMAP folder: Archive the message (default) (why is this the default!? Makes no sense).

Tests:
Note: When I mark a message in IMAP as deleted must be set to Auto-Expunge off: Wait for the client to update the server to be able to change this setting from the default
Archive the message (default) -> mail remains in All Mail folder in the gmail account, with no labels
Move the message to the Trash -> mail remains in the original folder (label) in the gmail account, though Thunderbird doesn't show it
Immediately delete the message forever -> same as Move the message to the Trash

the mail remains in the "All Mail" folder in the gmail account, It's not deleted as it should.

Seems to me that's gmail's doing. So not a bug in Thunderbird?

Flags: needinfo?(unicorn.consulting)

Ah, you already gave you opinion in bug 1759335 comment 3

Flags: needinfo?(unicorn.consulting)
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1759335
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.