IMAP folders with \NoInferiors cannot be a target parent folder

VERIFIED WONTFIX

Status

SeaMonkey
MailNews: Message Display
P3
normal
VERIFIED WONTFIX
18 years ago
13 years ago

People

(Reporter: Karen Huang, Assigned: jefft)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
Used 03-02-08-M15 commercial build:

Should grey out for the 1st level folders of New folder dialog for IMAP SIMS

SIMS IMAP server not allow users to create the subfolders of the first level
folders, from the New folder dialog, the inbox folder is grey out which is
correct, but the other 1st level folders did not grey out. it should be grey out
(the same as Inbox) since SIMS IMAP server won't allow users to create
subfolders of the 1st level subfolders.

See the following info from the SIMS server:

 
* LIST (\NoInferiors \UnMarked) "/" Trash
* LIST (\NoInferiors \UnMarked) "/" Sent
* LIST (\NoInferiors \UnMarked) "/" Drafts
* LIST (\NoInferiors \UnMarked) "/" Templates
* LIST (\NoInferiors \UnMarked) "/" sims_f1
* LIST (\NoInferiors \UnMarked) "/" sims_f1_1
* LIST (\NoInferiors \UnMarked) "/" sims_f2
* LIST (\NoInferiors \UnMarked) "/" sims_f3
* LIST (\NoInferiors) NIL INBOX
 
Since users shouldn't allow to create a subfolder of a \NoInferiors folders.
So the UI "new folder dialog's drop down menu for folders' list should also grey
out as well.
(Reporter)

Updated

18 years ago
QA Contact: lchiang → huang

Comment 1

18 years ago
Reassign to jefft, cc sspitzer
Assignee: phil → jefft
all we have to do is make sure nsImapMailFolder::GetCanCreateSubfolders()
returns the right thing for 1st level folders on SIMS servers.  

see nsImapMailFolder.cpp, we've been using the MSG_FOLDER_FLAG_IMAP_NOINFERIORS
flag for this.  do search for lxr and see how we're doing it.
(Assignee)

Comment 3

18 years ago
Update summary to make it more general ...
Status: NEW → ASSIGNED
Summary: Should grey out for the 1st level folders of New folder dialog for IMAP SIMS → IMAP folders with \NoInferiors cannot be a target parent folder
Target Milestone: M15
(Assignee)

Comment 4

18 years ago
I doubt we will do much about this. In order to get the folder flags we have to 
list the mailbox. This is something we don't want to do.
(Assignee)

Comment 5

18 years ago
This can cause unnecessary list for normal mailbox folder. It's not worth of 
fixing.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → WONTFIX
(Reporter)

Comment 6

18 years ago
Can you describe more detail? Why Inbox can be grey out for SIMS server, but 
cannot perform for the 1st level subfolders?
(Reporter)

Comment 7

18 years ago
Agree with Jeff explanation after discuss with him. Marking as verified.

Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.