Closed Bug 473025 Opened 14 years ago Closed 13 years ago

Thunderbird forgot the Subscribe-Settings on the IMAP account

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: norm2005, Unassigned)

References

(Blocks 1 open bug)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)
Build Identifier: 

I have two IMAP accounts. I subscribe the folders in this two accounts. Then the folders listing in the left three-view. When I restart thunderbird, sometimes the subscribe-settings of one IMAP-account are lost - the subscripted folders of this IMAP-account are not in the three-view.


Reproducible: Sometimes

Steps to Reproduce:
requirement:
Thunderbird (with two IMAP-Accounts)
Subscribe some folders in this two IMAP-Accounts.

1.Start Thunderbird
2.Does Thunderbird show all subscripted IMAP-Folders?
3.Close Thunderbird
-- repeat...
Actual Results:  
Sometimes Thunderbird dose not show all subscripted IMAP-Folders.

Expected Results:  
Show the subscripted IMAP-Folders.
Do you access the IMAP account from only one TB on only one PC?
If other mail client unsubscibes a folder, Tb knows it by LSUB command response. Tb probably hides the folder because it's in unsubscribed status, in order to keep consistency, if "Show only subscribed folders" is enabled.

What is displayed in list of "Subscibe" menu?
>> Do you access the IMAP account from only one TB on only one PC?
Yes, only one TB, one PC.

>>What is displayed in list of "Subscibe" menu?
http://www9.picfront.org/picture/I4XDOtDH/img/thunderbirdSubscribeStatus.jpg
(In reply to comment #2)
> >>What is displayed in list of "Subscibe" menu?
> http://www9.picfront.org/picture/I4XDOtDH/img/thunderbirdSubscribeStatus.jpg

Does all folders which is checked in subscrition list really exist on IMAP server?
("folder is deleted/not-deleted" and "listed in LSUB or not" is independent.)
When you click Inbox(open Inbox->login server, list/lsub etc.), all subscribed folders are shown in folder pane?
"Check for new message at start up" is enabled? Disabled?
(In reply to comment #3)

>>>>Does all folders which is checked in subscrition list really exist on IMAP
server?
Yes, folders on the IMAP server: http://www4.picfront.org/picture/CfLIAGdTEFO/img/OnlineFolders.png

Check for new message at start up is enabled.

>>>>When you click Inbox(open Inbox->login server, list/lsub etc.), all subscribed folders are shown in folder pane?

I'm not sure what you mean, but when I collapse and then expand the IMAP-account node in the treeView, the subscripted folders are shown. 
When I click only on Inbox, the folders stay hidden.
(In reply to comment #4)
> I'm not sure what you mean,
There are two types of issue and I saw both.
 (a) Folder pane is not correctly refreshed until "login to server".
     Example : Bug 450754 (still remains)
 (b) Folder pane is not correctly refreshed until "collapse then expand again".
     Example : Bug 409839 (already WORKSFORME)
(a) is severe than (b) (b is folder pane refresh only issue), but (a) can easily be bypassed by "Check for new message at start up", I asked about (a) first.

>  but when I collapse and then expand the IMAP-account node in the treeView, the subscripted folders are shown. 
> When I click only on Inbox, the folders stay hidden.

Is your problem easily be reproduced?
If yes, get IMAP log. See Bug 402793 Comment #1 for getting log.
(please attach log file, instead of paste)

Screen shot of folders on IMAP server :
   "+ Trash"    "Inbox"   "Public Folders"
Screen shot of subscription list when problem occurred :
   "+ Trash"    "INBOX"   "Public"(unsubscribed status)
Screen shot of folder pane when problem occurred :
   "+ Deleted"  "Inbox"   (not displayed) 

"Deleted" is seen for other accounts. "Deleted" is localized name by Tb of "Trash" folder? "Deleted" of other accounts in folder pane is proper display?
"Public Folders" is IMAP Public Folder?
(In reply to comment #5)

IMAP logs and screens:

Log 01: (some folders not displayed)
http://members.inode.at/perhofer/_forumsupload/tb/styrit.com_01_imap.log
Screen 01: (some folders not displayed)
http://members.inode.at/perhofer/_forumsupload/tb/styrit01.png

Log 02: (I collapse and then expand the IMAP-account node)
http://members.inode.at/perhofer/_forumsupload/tb/styrit.com_02_imap.log
Screen 02: (I collapse and then expand the IMAP-account node)
http://members.inode.at/perhofer/_forumsupload/tb/styrit02.png


Other resources

Full log-session:
http://members.inode.at/perhofer/_forumsupload/tb/styrit.com_03(full)_imap.log

Screen shot of folders on IMAP server:
http://members.inode.at/perhofer/_forumsupload/tb/styrit03.png

_________

"Deleted" is seen for other accounts. "Deleted" is localized name by Tb of
"Trash" folder? - can't say...

"Deleted" of other accounts in folder pane is proper display? - Yes

"Public Folders" is IMAP Public Folder? - Yes
(In reply to comment #5)

Scenario two:

Log 01: (some folders not displayed)
http://members.inode.at/perhofer/_forumsupload/tb/georgebreeze_01_imap.log
Screen 01: (some folders not displayed)
http://members.inode.at/perhofer/_forumsupload/tb/gb01.png

Log 02: (I collapse and then expand the IMAP-account node)
http://members.inode.at/perhofer/_forumsupload/tb/georgebreeze_02_imap.log
Screen 02: (I collapse and then expand the IMAP-account node)
http://members.inode.at/perhofer/_forumsupload/tb/gb02.png


Other resources

Full log-session:
http://members.inode.at/perhofer/_forumsupload/tb/georgebreeze_03(full)_imap.log

Screen shot of folders on IMAP server:
http://members.inode.at/perhofer/_forumsupload/tb/gb03.png
> Log 01: (some folders not displayed)
>(imap.georgebreeze.com)
> 1. Login is done, 2. and capability is issued and responce returned
> 2884[312a150]: 3123770:imap.georgebreeze.com:A:SendData: 3 lsub "" "*"
> 2884[312a150]: 3123770:imap.georgebreeze.com:A:CreateNewLineFromSocket: 3 OK LSUB completed
> Nothing is returned from server for LSUB 

> Log 02: (I collapse and then expand the IMAP-account node)
>(imap.georgebreeze.com)
> 1. Login is done, 2. and capability is issued and responce returned
> 3. LSUB (first LSUB) 
> 2884[312a150]: 3123770:imap.georgebreeze.com:A:SendData: 3 lsub "" "*"
> 2884[312a150]: 3123770:imap.georgebreeze.com:A:CreateNewLineFromSocket: 3 OK LSUB completed
> Nothing is returned from server for LSUB
> After SELECT INBOX, FETCH, IDLE etc.,
> 12. LSUB (second LSUB)  
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:SendData: 12 lsub "" "*"
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LSUB () "/" "Drafts"
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LSUB () "/" "INBOX"
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LSUB () "/" "Trash"
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LSUB () "/" "_temp"
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LSUB () "/" "Junk"
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LSUB () "/" "Sent Items"
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: 12 OK LSUB completed
> Note: "Public" is not returned
> 13. LIST
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:SendData: 13 list "" "%"
> LIST (\HasNoChildren) "/" Drafts
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LIST (\HasNoChildren) "/" INBOX
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LIST (\HasNoChildren) "/" Junk
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LIST (\HasNoChildren) "/" "Sent Items"
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LIST (\HasNoChildren) "/" Trash
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LIST (\HasNoChildren) "/" _temp
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: * LIST (\HasNoChildren) "/" Public
> 2884[312a150]: 3123770:imap.georgebreeze.com:S-INBOX:CreateNewLineFromSocket: 13 OK LIST completed

I think phenomenon is;
(A) Nothing is returned(probably until "select inbox") to LSUB, then Tb doesn't display mail folders in folder pane.
(B) When collapse/expand, "select inbox" and fetch etc. is issued, and server returns folder names ) to LSUB. But not for "Public". This is reason why "Public" is not displayed in folder pane.
(C) After (B), LIST is issued with wild card. "Public" is included in LIST response. So "Public" in subscription list is unchecked.

I think combination of (1) server side problem(nothing to first LSUB), (2) folder pane refresh issue after restart(not refreshed by data in panacea.dat), (3) similar issue to Bug 450754(probably issue that folder names in folder pane is not updated until LIST).

I can't guess reason why no "Public" in second LSUB response.
Please check whether Tb issues SUBSCRIBE to "Public" or not, when subscribe is checked for "Public" and "Public" is opened.

I don't know why "Trash" is displayed as "Deleted" in folder pane of you Tb.
Component: General → Networking: IMAP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.imap
Blocks: 201332
Normal IMAP mail client usually doesn't assume that a mail folder is subscribed if IMAP server says "the folder doesn't exist in subscription list". And I believe Tb is one of "normal IMAP mail clients". (I don't know behavior of MS's mail client.) 

Closing as INVALID.
norm2005@gmail.com(bug opener), if Tb's fault will be found(e.g. Tb doesn't issue SUBSCRIBE to public folder), re-open please.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
FYI. Disabling of next option is probably a workaround of your case. Try it.
> Server Settings/Advanced
>   Show only subscribed folders
You need to log in before you can comment on or make changes to this bug.