On layout change, listener for onEndMsgDownload seems gone, so that never runs.
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(thunderbird_esr78 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | fixed |
People
(Reporter: alta88, Assigned: darktrojan)
References
Details
(Keywords: regression, Whiteboard: [has regression range])
Attachments
(2 files)
47 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr78+
|
Details | Review |
4.73 KB,
patch
|
mkmelin
:
feedback+
|
Details | Diff | Splinter Review |
consequently, neither does onMsgParsed, and a number of things don't happen anymore that would as a matter of course after selecting a message without a layout change. most notably, feed messages are no longer visible. seems nsMsgStatusFeedback isn't restored. also, onEndMsgDownload normally runs each time a pop or feed message is selected, but not for imap or nntp. it may or may not be an oversight that it doesn't for imap.
Comment 1•15 years ago
|
||
so regression?
Updated•15 years ago
|
Comment 2•14 years ago
|
||
alta88, can you estimate or find the regression range?? is bug 535980 a duplicate, or anything else mention there?
Updated•14 years ago
|
i don't know if the reply based bugs are related. bug 531397#c6 seems to have done some analysis in addition to what i found here (a long time ago). in that bug i mention a checkin that broke layouts; that would be 781f622cb9b7 of 2009-06-25. so i'd guess the issue starts there. despite trying quite hard to figure out how to fix layouts, since widethread is very important to me, i abandoned it with a fried brain..
Comment 4•13 years ago
|
||
In reply to comment #3) > i don't know if the reply based bugs are related. bug 531397 comment 6 (standard8 comment) seems to have > done some analysis in addition to what i found here (a long time ago). I put regression range at between 20090501 and 20090502. fixing this should help bug 531397. bug 542213 and others should also be checked.(
Comment 5•13 years ago
|
||
http://hg.mozilla.org/comm-central/pushloghtml?startdate=2009-05-01+03%3A00&enddate=2009-05-02+05%3A00 I would guess the checkin of Bug 438429 - Meta bug to fix several RSS Summary/Web Page
Comment 6•13 years ago
|
||
Interesting. If I change layout while on the second (3pane) tab, the second tab's message reader still works, but the first (3pane) tab breaks. This suggests something bad is happening in terms of the msgWindow associated with the first tab...
Comment 7•13 years ago
|
||
And I get a this: WARNING: NS_ENSURE_TRUE(!mIsBeingDestroyed) failed: file /home/visbrero/rev_control/hg/comm-central/mozilla/docshell/base/nsDocShell.cpp, line 7948
Comment 8•13 years ago
|
||
The nsMessenger's mDocShell is apparently broken. The messenger instance gets told that by a call to setWindow. Each mail tab has their own messenger instance, and each one of those needs to issue a new call to setWindow. not it!
Comment 9•13 years ago
|
||
Jim, you love tabs and folderDisplay, right? Mayhaps you like this bug?
Comment 10•13 years ago
|
||
(In reply to comment #6) > Interesting. If I change layout while on the second (3pane) tab, the second > tab's message reader still works, but the first (3pane) tab breaks. This > suggests something bad is happening in terms of the msgWindow associated with > the first tab... I hadn't tested in a second tab. But your findings are consistent with the fact that closing 3pane and restarting it "fixes" the problem (and also consistent with reports in other bugs about restarting 3pane, for other types of issues like breakage after replies) Andrew, Thanks for testing this.
Reporter | ||
Comment 11•13 years ago
|
||
there is bug 636874 for tabs/layout.
Comment 12•10 years ago
|
||
I also encountered this bug on version 17.0.8, and fixed it myself. Andrew Sutherland is right, while changing layout, it goes to function UpdateMailPaneConfig in msgMail3PaneWindow.js, notice this line: desiredParent.appendChild(messagePaneBoxWrapper); The browser is picked up and inserted into a new element, which makes the inside DocShell changed. As the nsMsgStatusFeedback is not registered into the new DocShell, when the message finishes loading, OnEndMsgDownload is no longer reached. How I fixed: 1. nsMsgWindow::GetMessageWindowDocShell in nsMsgWindow.cpp, change "if (docShell)" into "if (true)", which means always get the messagepane's doc shell, insteading return the old one. 2. function UpdateMailPaneConfig in msgMail3PaneWindow.js, add: msgWindow.statusFeedback = msgWindow.statusFeedback; after desiredParent.appendChild(messagePaneBoxWrapper); which register the nsMsgStatusFeedback into the new doc shell.
Comment 13•10 years ago
|
||
windywater: can you attach a patch for that?
Updated•5 years ago
|
Assignee | ||
Comment 14•4 years ago
|
||
Based on a suggestion at bug 492216 comment 12.
Assignee | ||
Comment 15•4 years ago
|
||
Well, it does work. Whether or not it's the right thing to do I'm not really sure, but the tests pass. Who's best for reviewing this?
Assignee | ||
Updated•4 years ago
|
Comment 16•4 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/e75c0826bbee
Prevent 3-pane layout change from breaking messageHeaderSink listeners. r=mkmelin DONTBUILD
Updated•4 years ago
|
Updated•4 years ago
|
Comment 17•4 years ago
|
||
Uplift to 78?
Assignee | ||
Comment 18•4 years ago
|
||
Comment on attachment 9167824 [details]
Bug 492216 - Prevent 3-pane layout change from breaking messageHeaderSink listeners
Ancient bug, no rush, but it's been on beta long enough for problems to surface.
Comment 19•4 years ago
|
||
Comment on attachment 9167824 [details]
Bug 492216 - Prevent 3-pane layout change from breaking messageHeaderSink listeners
[Triage Comment]
Approved for esr78
risks?
Comment 20•4 years ago
|
||
ESR78 version of this patch necessary due to NS_STRING_LITERAL changes.
Comment 21•4 years ago
|
||
bugherder uplift |
Thunderbird 78.2.2:
https://hg.mozilla.org/releases/comm-esr78/rev/9b53ae7ebe71
Updated•4 years ago
|
Description
•