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)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: marina, Assigned: Bienvenu)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.32 KB,
patch
|
ssu0262
:
review+
sspitzer
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
**** 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
Using mar6 commercial trunk: all platforms
nominating and marking as regression - problem not present in mar5 build
Comment 2•23 years ago
|
||
reassigning to ssu. this sounds similar to the standalone message window bug
that was fixed.
Comment 3•23 years ago
|
||
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
Assignee | ||
Comment 5•23 years ago
|
||
The fix is probably to change the js that opens the folder pane window in that
case. Looking.
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•23 years ago
|
||
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 8•23 years ago
|
||
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 10•23 years ago
|
||
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+
Assignee | ||
Comment 11•23 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 12•23 years ago
|
||
*** Bug 131272 has been marked as a duplicate of this bug. ***
Comment 13•23 years ago
|
||
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
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•