Closed Bug 614913 Opened 15 years ago Closed 15 years ago

Multiple Draft/Sent/Trash folders in Gmail

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86_64
Windows Server 2003
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: raivo.kask, Unassigned)

References

(Blocks 1 open bug)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7 Build Identifier: 3.1.6 I have a Gmail account in TB. The Draft/Sent/Trash folders are created in addition to Gmails own Draft/Sent/Trash folders. If deleted they are created next time TB starts. Reproducible: Always I have a snapshoot but don't know how to attache it to this bug.
(In reply to comment #0) > The Draft/Sent/Trash folders are created in addition to Gmails own Draft/Sent/Trash folders. > If deleted they are created next time TB starts. What folder do you call by "Gmails own Draft/Sent/Trash folders"? AFAIK, Gmail doesn't use folder name of "Draft" and "Sent". Do you choose other than "Display Language: English(US)" at Gmail Web Interface"? Because Gmail uses localized folder name according to your "Display Language:" setting, and because Gmail changes the localized folder name according to your "Display Language:" change, Tb considers Gmail's special folders passed in XLIST command response as folders cateorized in Tb's special folder(e.g. Inbox, Trash, Drafts, Sent, ...). Then these folders are marked as "folder for Trash", "folder for Sent", ..., and icon of folders is chaged according to the category. And, Gmail IMAP presents Gmail's special folders as folders under [Gmail] folder to IMAP client. Folder at Gmail Web Display Language: English(US) Folder at IMAP client(==Tb) Category for Tb Inbox Inbox Inbox Trash [Gmail]/Trash Trash Drafts [Gmail]/Drafts Drafts Sent Mail [Gmail]/Sent Mail Sent Spam [Gmail]/Spam Junk Starred [Gmail]/Starred All Mail [Gmail]/All Mail Archives Folder at Gmail Web Display Language: others Folder at IMAP client(==Tb) Category for Tb localized "Inbox" Inbox Inbox localized "Trash" [Gmail]/localized "Trash" Trash In contrast to it, Tb's design/implementation for special folders is: Category for Tb Folder at Tb Inbox Inbox (as defined by IMAP, alwys Inbox) Trash Folder selected at Server Settings(Move to this folder:) Junk Folder selected at Junk Settings Sent/Drafts/Archives Folder selected at Copies&Folders These folders named in English has localized name by Tb, and the localized name by Tb is shown at folder pane/folder selection list if localized Tb. As stated before, Gmail changes special folder name dynamically, but Tb's setting is static. Tb can't know your "Display Language:" until access to Gmail IMAP server, and folder names can be changed at server any time. So, default setting on folder name at Server Setings, Junk Setings, Copies&Folders, are Tb's default folder name. For Inbox, file name of Inbox is always used as defined by IMAP, and localized name by Tb is shown at folder pane if localized Tb. For Trash(Server Settings), Tb always uses trash type folder returned by XLIST([Gmail]/Trash, if Display Language: English(US)), to avoid problems. Due to this, root level Trash or other folder can not be used as trash older of Tb. It's current restriction. For other folders(Junk Setting, Copies&Folders), folders selected at Junk Setting and Copies&Folders is used. This is reson why root level Drafts of Tb(==Gmail Label of [Imap]/Drafts) is used and created. These can be said "current restriction of Tb due to particularity of Gmail IMAP". Please read Gmail's Help documents(similar to manual of digital camera, mobile phone) well before you start using Gmail IMAP. And, please change folder related selection(Server Settings, Junk Settings, Copies&Folders) according to your need(==customization of Tb). If you use localized build, localized folder name is shown at folder pane and folder selection list for real English folder name. If you use "Displan Language: other than English", Gmail/Gmail IMAP uses real localized folder name and it's shown at folder pane of folder selection list of Tb. It sufficiently confuses you, if you use localized Tb. I recommend you to use en-US Tb for initial folder related selection, if you use "Displan Language: other than English", to avoid confusion due to localized name by Tb for root level special folders.
This is what I have when login to my account in mail.google.com/mail/ --------------------------------------------------------------------- Settings / General: Gmail display language: English Settings / Labels: System labels Inbox Buzz show hide Starred show hide Chats show hide Sent Mail show hide Drafts show hide (0 conversations) All Mail show hide Spam show hide Trash show hide Labels [Gmail]/Junk show hide remove (0 conversations) [Gmail]/Templates show hide remove (0 conversations) [Imap]/Drafts show hide remove (0 conversations) [Imap]/Sent show hide remove (0 conversations) [Imap]/Trash show hide remove (0 conversations) Archives show hide remove (0 conversations) --------------------------------------------------------------------- In TB I have following folders for account My_Gmail: My_Gmail Inbox Drafts [Gmail] Drafts Templates Sent Mail Junk Trash Sent Trash The folders Drafts, Sent and Trash in My_Gmail can be deleted but turn up anyway later. The other folders in [GMail] Drafts, Templates, Sent Mail, Junk and Trash can not be deleted --------------------------------------------------------------------- In account settings for My_Gmail I have: Server settings Check for new messages at startup (checked) When I delete a message just mark it as deleted (checked) Copies & Folders Drafts, Archives and Templates Other -> My_Gmail -> [GMail] -> Drafts, Archives and Templates Junk Settings Disabled ---------------------------------------------------------------------
OS: Linux → Windows Server 2003
(In reply to comment #2) > Labels > [Gmail]/Junk show hide remove Gmail's folder name/term is "Spam" at Gmail Web Interface for folder in which spam/junk mails are saved. And, Gmail/Gmail IMAP never uses "Junk" for folder to save spam. And, "Spam" folder at Gmail's Web Interface is presented as [Gmail]/Spam to IMAP client such as Thunderbird. And, AFAIK, Tb's default setting of "Junk folder at Junk Settings" is root level "Junk" folder of Tb which coresponds to Gmail Label of root level "Junk". Why Gmail Label of [Gmail]/Junk can be created by Tb's default setting? What did you do? You created Gmail Label of [Gmail]/Junk by other mail client? > Labels > [Gmail]/Templates show hide remove IIRC about Tb's default settings and behaviour on templates folder in Copies&Folders of Tb, Tb's default setting is root level "Templates" folder which corresponds to Gmail Label of root level "Templates". Why can [Gmail]/Templates be generated by default settings of Tb? Your Copies&Folders setting is correct? What did you do around templates folder at Tb and/or Gmail Web Interface? > Labels > [Imap]/Drafts show hide remove > [Imap]/Sent show hide remove > Archives show hide remove As I stated before, root level "Drafts" of Tb and root level "Sent" of Tb and root level "Archives", which are set in Copies&Folders of Tb by default, corresponds to Gmail Label of [Imap]/Drafts, [Imap]/Sent, Archives, respectively. So, it's normal if you executed "Save As Draft", "save sent mail copy", "Archive", without changing default setting of Copies&Folders. > Labels > [Imap]/Trash show hide remove As I stated before, root level "Trash" of Tb, which is set in IMAP delete model setting at Server Settings of Tb, corresponds to Gmail Label of [Imap]/Trash. So, it's perhaps normal if you executed "Delete of mail" or "Empty Trash" without changing default setting of trash folder of IMAP delete model setting in Server Settings. Anyway, here is B.M.O, never support forum. Here is place to report Tb's real bug(flaw in Tb's program code) to developers. Could you please do next. (1) Read thru and understand meta bug 402793(put in Blocks: field of this bug), and read thru and understand bugs listed in Dependency tree for the meta bug. (2) Sort out phenomena you saw, after, (2-0) Delete and re-define you Gmail IMAP account at Tb, (2-1) Check with en-US build of Tb/Display Languge:English(US), (2-2) Check with en-US build of Tb/Display Languge:your language, (2-3) Check with your-language build of Tb/Display Languge:English(US) (2-4) Check with your-language build of Tb/Display Languge:your language (3) Rule out funny phenomenon for you due to particularity of Gmail/Gmail IMAP. (4) Extract funny phenomena for you. (5) Extract funny phenomena for you, which are surely caused by bug of Tb for you. (6) After that, please state what/which phenomenon/problem is caused by Tb's flaw in progrm code.
(In reply to comment #2) > Gmail display language: English Check icon for folders by next test, without standard folder name by Tb and Gmail, without localized name by localized Tb. (no localized name by Gmail, as Display Language: English) (1) Create root lever folder AA by Tb(== Gmail Label of AA). Create folder of X-Trash, X-Junk, X-Arichives, X-Drafts, X-Sent, and X-Templates, under root level dolder of AA. (2) At Junk Setting, Other:, select AA/X-Junk. At Copies&Folders of any identity associated to the Gmail IMAP account: at Other:, select AA/X-Sent, AA/X-Drafts, AA/X-Archives, AA/X-Templates. (3) Check icon for above folders and folders under [Gmail]. (4) At Server Settings, select "Move to this folder:", select AA/X-Trash. (5) Collapse the Gmail account and re-expand at folder pane. Can you see next phenomenon? Trash can icon is shown for AA/X-Trash, and icon is changed to ordinal one immediately. At step (3), icon for folders under [Gmail] is special icon, even after step (2). It's a kind of "current restriction" I stated before. Phenomenon at step (5) is also a kind of "current restriction" I stated before. As seen in step (5), icon of AA/X-Trash is changed back to ordinal one. It probably can be said next phenomenon. - trash of Tb is set AA/X-Trash by step (4), so trash can icon is shown. - to force [Gmail]/Trash as trash of Tb, internal setting for trash is changed from AA/X-Trash to [Gmail]/Trash, then trash can icon of AA/X-Trash is removed. For special icon of folder under [Gmail]. By XLIST support for GMAIL IMAP, one of next perhaps occurs. (a) Internal someone uses them as special folder, then special icon is used. Action at step (2) doesn't change the folder use by internal someone, so icon of folders under [Gmail] is not changed. (b) Caracteristics of "special folder" is added to folders under [Gmail] then special icon is used. Action at step (2) doesn't change the characteristics of special folder assigned to them, so icon of folders under [Gmail] is not changed. > Bug summary : Multiple Draft/Sent/Trash folders in Gmail Please distingush next. (i) folder creation of folder selected at Server Settings, Junk Settings, Copies&Folders. (ii) icon assignment by Tb for special folders selected at Server Settings, Junk Settings, Copies&Folders. (iii) icon assignment by Tb for Gmail's special folders under [Gmail].
Problem solved
(In reply to comment #5) > Problem solved Assuming your bug summary for "Sent" is "both root level Sent folder and [Gmail]/Sent Mail folder has icon for Tb's sent folder". Which do you mean by "Problem solved"? (a) Such phenomenon doesn't occur any more even after account creation of Gmail IMAP on Tb. (b) You could find workaround of such phenomenon(setting change at Copies&Folders), and you see only one folder of "icon for Tb's sent folder" in your environment.
The problem was that the folders Drafts, Sent and Trash in My_Gmail, when deleted, turned up later. anyway later. My_Gmail Inbox Drafts [Gmail] Drafts Templates Sent Mail Junk Trash Sent Trash When I unsubscribed the folders they disappeared. Now it looks as follows: My_Gmail Inbox [Gmail] Drafts Templates Sent Mail Junk Trash Which is OK
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.