Last Comment Bug 494266 - [IMAP] Archive subfolders not shown in folder pane directly after their creation
: [IMAP] Archive subfolders not shown in folder pane directly after their creation
Status: RESOLVED FIXED
:
Product: SeaMonkey
Classification: Client Software
Component: MailNews: Message Display (show other bugs)
: Trunk
: All All
: -- minor (vote)
: seamonkey2.1a3
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on: 482458
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-21 14:11 PDT by Jens Hatlak (:InvisibleSmiley)
Modified: 2010-06-28 10:11 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description Jens Hatlak (:InvisibleSmiley) 2009-05-21 14:11:17 PDT
The mail archive function (UI introduced through bug 482458) creates archive folders as needed. With default settings, one folder per year is created below the Archive folder. If the Archive folder is set to be created on an IMAP server (in my case Courier), only the Archive folder itself is shown in the folder pane directly after the first archiving and there is no expander (+) in front of it. Looking at the subscriptions one can see that both the Archive folder and the <year of archived message> subfolder have been subscribed, though.

Workaround: Closing and re-expanding the corresponding account is enough to fix this situation.

STR:
1. start SM with patch from bug 482458 applied (should be on trunk soon)
2. press Shift+A (Archive) on any message where the corresponding server's Archive folder is set to an IMAP server (for IMAP accounts this is the account itself by default)
3. look at the folder pane

Actual results: only the Archive folder is shown, with no expander in front of it

Expected results: the Archive folder should have an expander which, when clicked, exposes the newly created subfolder <year of archived message>
Comment 1 Jens Hatlak (:InvisibleSmiley) 2010-06-28 10:11:36 PDT
Fixed through bug 573392 (EnsureFolderIndex call):
http://hg.mozilla.org/comm-central/rev/74ccec25e4a9

Note You need to log in before you can comment on or make changes to this bug.