Closed
Bug 466795
Opened 16 years ago
Closed 16 years ago
MailNews Buttons and Menu-Items are mostly grayed out and non-functional
Categories
(SeaMonkey :: MailNews: Backend, defect)
SeaMonkey
MailNews: Backend
Tracking
(Not tracked)
VERIFIED
FIXED
seamonkey2.0a2
People
(Reporter: tobias, Assigned: kairo)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
standard8
:
review+
neil
:
superreview+
standard8
:
approval-seamonkey2.0a2+
|
Details | Diff | Splinter Review |
Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081125 Mnenhy/0.7.5.20005 SeaMonkey/2.0a2pre
The Patch http://hg.mozilla.org/comm-central/rev/ea449e297e95 from Bug 456818 breaks SeaMonkey MailNews.
Most Menu-Items are greyed out, also Icons in Toolbar, and lost the Funktions.
See Screenshot (Thanks to Hartmut Figge, who find the Bug):
http://www.triffids.de/pub/screenshot/sm081126.png
Get new messages works not for POP3-Accounts. Message-Headers are invisible.
Windows-Tinderbox-Build 200811251400xx (latest before the Checkin) works fine, TB-Build 20081125144806 is broken, so this must be regressed from Patch for Bug 456818.
Starting and try to use MailNews give some Errors:
Error: undefined entity
Source File:
jar:file:///E:/Programme/mozilla.org/seamonkey/chrome/messenger.jar!/content/messenger/mailWidgets.xml
Line: 241, Column: 11
Source Code:
<xul:label class="moreIndicator" value="&more.label;"
anonid="more"
Error: locationTree is undefined
Source File: chrome://messenger/content/msgMail3PaneWindow.js
Line: 1023
Error: a._updateVisibleText is not a function
Source File: chrome://global/content/bindings/textbox.xml
Line: 210
Error: headerEntry.enclosingBox.clearHeaderValues is not a function
Source File: chrome://messenger/content/msgHdrViewOverlay.js
Line: 670
Reporter | ||
Updated•16 years ago
|
Keywords: regression
Comment 1•16 years ago
|
||
Perhaps i should mention further, that after backing out the patches tweaks and v10 from Bug 456818 the errors were gone.
Comment 2•16 years ago
|
||
Confirming:
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1b3pre) Gecko/20081125 SeaMonkey/2.0a2pre] (nightly) (W2Ksp4)
No bug.
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1b3pre) Gecko/20081126 SeaMonkey/2.0a2pre] (nightly) (W2Ksp4)
{
Error: undefined entity
Source File: jar:file:///.../chrome/messenger.jar!/content/messenger/mailWidgets.xml
Line: 241, Column: 11
Source Code:
<xul:label class="moreIndicator" value="&more.label;" anonid="more"
Error: locationTree is undefined
Source File: chrome://messenger/content/msgMail3PaneWindow.js
Line: 1023
}
and right pane if "blank".
***
At least, SeaMonkey is missing |more.label|:
http://mxr.mozilla.org/comm-central/search?string=more%5C.label®exp=on&case=on&find=%5C.dtd%24
{
/mail/locales/en-US/chrome/messenger/messenger.dtd
* line 627 -- <!ENTITY more.label "more">
}
Flags: blocking-seamonkey2.0a2?
Comment 3•16 years ago
|
||
This makes the entity errors go away and allows the mailnews main window (and standalone message window) to open normally. But (when the preview pane is open) then mailnews eats 80% of one of my cores.
Assignee: nobody → philip.chee
Attachment #350142 -
Flags: superreview?(mnyromyr)
Attachment #350142 -
Flags: review?(mnyromyr)
Comment 4•16 years ago
|
||
(In reply to comment #3)
> Created an attachment (id=350142) [details]
This patch works for me. At least now i don't see any errors. ;)
> But (when the preview pane is open) then mailnews eats 80% of one of my cores.
That one i cannot test because i don't know what you mean with preview pane. Messagepane, open in new window and print preview are normal.
Assignee | ||
Comment 5•16 years ago
|
||
After some IRC talk and looking at the magnitude of changes already done and still planned for the Thunderbird header view, I think forking the XBL is the best option here. This also enables us to get rid of a few ifdefs and a recently introduced JS switch (for JS-driven folder pane), making this a non-preprocessed file at the same time.
My patch restores the state before bug 456818 in the SeaMonkey fork, adds the basic infrastructure for suite/mailnews (needed for moving suite-specific files there in any case), and removes the ifdefs/switches for Thunderbird-specific stuff.
Attachment #350145 -
Flags: superreview?(neil)
Attachment #350145 -
Flags: review?(bugzilla)
Comment 6•16 years ago
|
||
(In reply to comment #5)
> Created an attachment (id=350145) [details]
> fork MailWidgets instead
With this patch SM doesn't even compile. I have double-checked. First try with this patch failed with
gmake[5]: Entering directory `/home/hafi/moz-work/src/obj-i686-pc-linux-gnu/suite/mailnews'
processing /home/hafi/moz-work/src/suite/mailnews/jar.mn
Traceback (most recent call last):
File "/home/hafi/moz-work/src/mozilla/config/JarMaker.py", line 463, in <module>
main()
File "/home/hafi/moz-work/src/mozilla/config/JarMaker.py", line 460, in main
jardir=options.j)
File "/home/hafi/moz-work/src/mozilla/config/JarMaker.py", line 231, in makeJar
localedirs)
File "/home/hafi/moz-work/src/mozilla/config/JarMaker.py", line 302, in processJarSection
outHelper, jf)
File "/home/hafi/moz-work/src/mozilla/config/JarMaker.py", line 334, in _processEntryLine
raise RuntimeError("file not found: " + src)
RuntimeError: file not found: mailWidgets.xml
Second try without the patch succeeded, the next one, again with the patch, gives the same error.
Seems there is a file mailWidgets.xml missing. ;)
Assignee | ||
Comment 7•16 years ago
|
||
Hartmut, it does compile, but this patch only applies cleanly if you do hg (q)import it, as it contains a hg copy. If you're applying it manually, you need to first manually copy that file and then apply the patch
Comment 8•16 years ago
|
||
hg, sigh. 'patch' did not complain about the lines with copy. Now the compilation was successful and the patch worked.
Comment 9•16 years ago
|
||
Comment on attachment 350145 [details] [diff] [review]
fork MailWidgets instead
>-* content/messenger/mailWidgets.xml (base/resources/content/mailWidgets.xml)
>+* content/messenger/mailWidgets.xml
I don't think you need the * here, since you removed the preprocessing?
Attachment #350145 -
Flags: superreview?(neil) → superreview+
Assignee | ||
Comment 10•16 years ago
|
||
(In reply to comment #9)
> >+* content/messenger/mailWidgets.xml
> I don't think you need the * here, since you removed the preprocessing?
Er, sure, I thought I did that but obviously forgot.
Assignee | ||
Updated•16 years ago
|
Attachment #350145 -
Flags: approval-seamonkey2.0a2?
Updated•16 years ago
|
Attachment #350145 -
Flags: review?(bugzilla)
Attachment #350145 -
Flags: review+
Attachment #350145 -
Flags: approval-seamonkey2.0a2?
Attachment #350145 -
Flags: approval-seamonkey2.0a2+
Assignee | ||
Updated•16 years ago
|
Attachment #350142 -
Attachment is obsolete: true
Attachment #350142 -
Flags: superreview?(mnyromyr)
Attachment #350142 -
Flags: review?(mnyromyr)
Assignee | ||
Comment 11•16 years ago
|
||
Pushed the forking patch as http://hg.mozilla.org/comm-central/rev/4baeb39a60ad - I'll file a followup for the Thunderbird part of the fork.
Assignee: philip.chee → kairo
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.0a2
Reporter | ||
Comment 14•16 years ago
|
||
Verified=Fixed, tested with the Windows and Linux Tinderbox-Builds.
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Flags: blocking-seamonkey2.0a2?
Summary: MailNews Buttons and Menu-Items are mostly greyed out, no Funktion → MailNews Buttons and Menu-Items are mostly grayed out, no Function
Updated•16 years ago
|
Summary: MailNews Buttons and Menu-Items are mostly grayed out, no Function → MailNews Buttons and Menu-Items are mostly grayed out and non-functional
Comment 15•15 years ago
|
||
(In reply to comment #5)
> This also enables us to get rid of [...] a
> recently introduced JS switch (for JS-driven folder pane)
Ah, this "reverts" mailWidgets.xml part of bug 414038 comment 116,
which I'll redo now in bug 510793 ;->
You need to log in
before you can comment on or make changes to this bug.
Description
•