Open an .eml file in the standalone message window (I used on attached .eml from an email), open the File menu in IsAccountOfflineEnabled(): Error: selectedFolders is undefined Source File: chrome://messenger/content/mailWindowOverlay.js Line: 2146 Also after overing over "New ->", in menu_new_init(): Error: msgFolder is undefined Source File: chrome://messenger/content/mailWindowOverlay.js Line: 52 Pretty sure this is a fairly recent regression. Didn't look to closely, but presumably some menu items don't work correctly due to this.
Partly this was a regression from bug 416666 (attachment 303943 [details] [diff] [review]), partly due to premature optimization.
Assignee: nobody → mkmelin+mozilla
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Thunderbird 3
Created attachment 316191 [details] [diff] [review] proposed fix Fixes: - msgHdr is null for .eml files - make the standalone msg window version of GetSelectedMsgFolders not return an array with wrong length, the 3pane version returns a 0-size array, so doing it here too - function checkMsgHdrPropertyIsNot looks to be unused now after the patch in my previous comment
Attachment #316191 - Flags: review?(philringnalda)
Comment on attachment 316191 [details] [diff] [review] proposed fix Looks good, thanks. r=philringnalda
Attachment #316191 - Flags: review?(philringnalda) → review+
Checking in mail/base/content/mailWindowOverlay.js; /cvsroot/mozilla/mail/base/content/mailWindowOverlay.js,v <-- mailWindowOverlay.js new revision: 1.197; previous revision: 1.196 done Checking in mail/base/content/messageWindow.js; /cvsroot/mozilla/mail/base/content/messageWindow.js,v <-- messageWindow.js new revision: 1.63; previous revision: 1.62 done ->FIXED
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.