Closed Bug 169976 Opened 22 years ago Closed 22 years ago

IMAP offline:in stand alone mesg window, new folder still enabled

Categories

(SeaMonkey :: MailNews: Backend, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: grylchan, Assigned: Bienvenu)

Details

Attachments

(1 file)

spun off bug 102284. If you are offline and bring up a downloaded/non-downloaded mail mesg in a stand alone window, the file menu item: File|New folder is still enabled. It should be disabled. The user can try to create a new folder but it won't work.
I will paste a patch soon for review.
Attached patch Patch V1Splinter Review
The patch from 102284 uses GetFolderTree() which is not supported in standalone message window. It is only defined in msgMail3PaneWindow.js, not in messageWindow.js. So there will be a javascript error when try to expand the File-->New menu in standalone message window. This patch uses GetSelectedMsgFolders() which is supported by both. The logic is basically the same as the patch from 102284. Please r= and sr= this patch. Thanks!
Harry, can we multi-select folders with current mozilla code? The patch looks good. ssu, would you please give a r=?
looking at patch
Changed summary to reflect that this only needs to be fixed for IMAP accounts. POP accounts work fine offline and online.
Summary: offline:in stand alone mesg window, new folder still enabled → IMAP offline:in stand alone mesg window, new folder still enabled
Comment on attachment 100214 [details] [diff] [review] Patch V1 r=ssu
Attachment #100214 - Flags: review+
Sean, thanks for you r=. bienvenu, could you please sr= this patch when you have time? Calvin, as I seen from current code, we don't support multiple select of folders now. Thanks!
Comment on attachment 100214 [details] [diff] [review] Patch V1 sr=bienvenu
Attachment #100214 - Flags: superreview+
Anto, since I don't have checkin permission now, could you please help me to check in the patch when the tree is open and green today? Thanks!
patch checked into trunk
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
using commercial trunk: 2002-11-25-12-trunk/ on XP 2002-11-25-12-trunk/ on linux 2.2 2002-11-25-11-trunk/ on Mac 10.1.5 verified the following while offline: - stand alone mesg for either downloaded or non-downloaded mesg file|New folder is disabled - in main menu of 3 pane window, New folder for imap account is disabled - for pop accounts, new folder is enabled - 3 pane window - stand alone window 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.

Attachment

General

Creator:
Created:
Updated:
Size: