(In reply to ncnmra from comment #47) > A workaround I found is: > 1) disable "Show In IMAP" under Settings>Labels in the Gmail web interface > for the Gmail Trash folder > 2) unsubscribe from the Gmail Trash folder in TB
Logic on trash in DiscoveryDone() was one like following; <= At this stage, trash in XLIST is perhaps already set as SpecialUse=Trash (perhaps only when IMAP delete model = "Move to trash" model) Search SpecialUse=Trash folders. If(number of SpecialUse=Trash folder>1) // Keep single SpecialUse=Trash folder For each SpecialUse=Trash folder If(Gmail){ if trash in XLIST, setflag(Trash); else clearflag(Trash); } Else{if folder of trash_folder_name, setflag(Trash); else clearflag(Trash);} By your workaround, number of SpecialUse=Trash folder is changed to 1. I think it's reason why your workaround works. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/885525 Title: Deleting a Gmail Message Always Sends Item to [Gmail]/Trash Status in Mozilla Thunderbird Mail and News: Confirmed Status in “thunderbird” package in Ubuntu: New Bug description: Thunderbird 7.0.1, Ubuntu 11.10 Gmail accounts do not obey the setting in Account Settings --> [Account] --> Server Settings --> When I delete a message I changed this to move the message to Gmail's "All Mail" folder, attempting to imitate the Gmail web interface's "Archive" option. However, regardless of setting, the item always moved to Trash. This persisted after restart of the client. The settings save, but have no effect. Caveat: This was tested on two Google Apps for Domains accounts, though I suspect this behavior will happen with gmail.com accounts as well. To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/885525/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp