Closed Bug 129305 Opened 23 years ago Closed 23 years ago

No headers and attachments are displayed when open in a New Mail window

Categories

(SeaMonkey :: MailNews: Message Display, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: marina, Assigned: Bienvenu)

References

Details

(Keywords: regression)

Attachments

(1 file)

**** observed with 2002-02-06 build **** This bug is visible when you open a new mail window (not to confuse with opening a message in a new window, this works) Steps to reproduce: - select an account or folder in the left pane, rightclick and chose "Open in a New Mail window"; //note that the new mail window is open; - now select a message and observe that the message body has no headres and in case there was an attachment it won't be shown either
QA Contact: esther → laurel
Using mar6 commercial trunk: all platforms nominating and marking as regression - problem not present in mar5 build
Keywords: nsbeta1, regression
OS: Windows 2000 → All
Hardware: PC → All
reassigning to ssu. this sounds similar to the standalone message window bug that was fixed.
Assignee: sspitzer → ssu
Keywords: nsbeta1nsbeta1+
Priority: -- → P2
Target Milestone: --- → mozilla1.0
Spooky... The header-pane is completely hidden, as if it was not loaded, in the new 3pane.
The console is also throwing up lots of the following errors: JavaScript strict warning: chrome://messenger/content/msgMail3PaneWindow.js line 480: reference to undefined property window.arguments[0].QueryInterface I trace it down to Bienvenu's patch to fix bug: http://bugzilla.mozilla.org/show_bug.cgi?id=112105 - Clicking on a folder link should allow subscribing to shared folder I simply reverted part of his patch (see below): //need to add to session before trying to load start folder otherwise listeners aren't //set up correctly. if ("arguments" in window && window.arguments[0]) { - param = window.arguments[0].QueryInterface( Components.interfaces.nsIDialogParamBlock ); - if( !param ) - dump( " error getting param block interface\n" ); - - gStartFolderUri = param.GetString( 0 ) ; - gStartMsgKey = param.GetInt( 0 ); + gStartFolderUri = window.arguments[0].uri; + gStartMsgKey = window.arguments[0].key; } else { gStartFolderUri = null; gStartMsgKey = -1; } The above code is in msgMail3PaneWindow.js' OnLoadMessenger() function. It seemed to have fixed this bug. I'm reassigning this bug to David because I don't know about his patch, and reverting this will most likely cause other problems elsewhere. ps. reverting the above code also fixes the problem that when opening a 2nd mailnews window by double clicking on a folder, the folder does not get loaded in the thread pane.
Assignee: ssu → bienvenu
The fix is probably to change the js that opens the folder pane window in that case. Looking.
Status: NEW → ASSIGNED
Attached patch proposed fixSplinter Review
use the dialog param block like the c++ code does - this is the only instance I could find of this type of window getting opened from js. Sean, please review.
Comment on attachment 74001 [details] [diff] [review] proposed fix r=ssu
Attachment #74001 - Flags: review+
Comment on attachment 74001 [details] [diff] [review] proposed fix sr=sspitzer
Attachment #74001 - Flags: superreview+
*** Bug 130846 has been marked as a duplicate of this bug. ***
Comment on attachment 74001 [details] [diff] [review] proposed fix a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #74001 - Flags: approval+
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
*** Bug 131272 has been marked as a duplicate of this bug. ***
OK using mar18 commercial trunk: win98, linux rh6.2, mac OS 9.2 OK for both opening a folder in new window from context menu and from Go To Folder in search messages.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: