Closed Bug 302215 Opened 19 years ago Closed 19 years ago

red XUL errors: menu_HelpPopup_reportertoolmenu and menu_inspector

Categories

(SeaMonkey :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey1.0alpha

People

(Reporter: InvisibleSmiley, Assigned: Biesinger)

References

Details

(Keywords: fixed1.8)

Attachments

(1 file, 2 obsolete files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050726 SeaMonkey/1.0a
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050726 SeaMonkey/1.0a

After building a current SeaMonkey nightly with --extensions=all, I got the
following XUL error strings at the lower end of the browser window (presented
here is the equivalent output of the JavaScript console):

Error: undefined entity
Source File: chrome://reporter/content/reporterOverlay.xul
Line: 50, Column: 5
Source Code:
    <menuitem id="menu_HelpPopup_reportertoolmenu" 

Error: undefined entity
Source File: chrome://inspector/content/tasksOverlay.xul
Line: 20, Column: 5
Source Code:
    <menuitem id="menu_inspector" label="&inspectorTaskCmd.label;" 

This appeared only recently (i.e. within the last one or two weeks) and can be
reproduced by me with custom Linux and Windows builds.

Reproducible: Always

Steps to Reproduce:
1. Build SeaMonkey from CVS, with --enable-extensions=all
2. Open a browser window; using a fresh profile, if you like

Actual Results:  
XUL errors shown in red letters within chrome

Expected Results:  
No errors should be displayed
Is your tree current as of today?
See bug 301565 and bug 298675.
(In reply to comment #1)
> Is your tree current as of today?

Of course. Both bugs you linked are marked fixed but at least the first one has
a comment from someone also seeing both error messages. Well, I guess I will
just wait until everything is fixed and then mark this one fixed as well since I
currently don't know which bug I should mark this one a duplicate of.
Must be Linux-only, then.  
this worksforme with linux seamonkey trunk CVS from today as well as today's
nightly.

Did you only get the error after enabling all extensions?
(In reply to comment #5)
> this worksforme with linux seamonkey trunk CVS from today as well as today's
> nightly.

Just made a cvs update and rebuilt; problem still exists.

> Did you only get the error after enabling all extensions?

I'm always building with --enable-extensions=all, and given that reporter and
inspector seem to be broken, it's quite likely that the XUL errors do only
appear if these extensions are activated during configure.

Like I said, I suggest waiting for the other bugs like 301842 to get fixed and
then change the status of this bug.
bug 301842 would only be relevant if you were using the install wizard.  Are you
doing that, running from dist/bin or running "make install"?
Version: unspecified → Trunk
(In reply to comment #7)
> bug 301842 would only be relevant if you were using the install wizard.  Are you
> doing that, running from dist/bin or running "make install"?

OK, maybe I referred to the wrong bug. Next try:

Bug 301565, comment 22. http://www.triffids.de/pub/screenshot/rot2.png is
exactly what I see.
I confirm this bug exists, but without --enable-extensions=all. Just I build it
from latest CVS with --enable-svg, --enable-svg-renderer-cairo,
--enable-default-toolkit=gtk2, --disable-freetype2, --enable-xft
(In reply to comment #9)
> I confirm this bug exists, but without --enable-extensions=all. Just I build it
> from latest CVS with --enable-svg, --enable-svg-renderer-cairo,
> --enable-default-toolkit=gtk2, --disable-freetype2, --enable-xft

I have SVG enabled as well, but (until now) with the libart renderer. Using GTK2
and having Freetype disabled, too. Didn't explicitly enable XFT, though.
*** Bug 306992 has been marked as a duplicate of this bug. ***
based on bug 306992, the answer to comment 7 is "make install".  After doing
that, I can reproduce this bug.  Nuking chrome/overlays.rdf fixes the problem.
Assignee: general → nobody
Status: UNCONFIRMED → NEW
Component: General → Build Config
Ever confirmed: true
QA Contact: general → build-config
Summary: XUL errors: menu_HelpPopup_reportertoolmenu and menu_inspector → red XUL errors: menu_HelpPopup_reportertoolmenu and menu_inspector
Attached patch patch? (obsolete) β€” β€” Splinter Review
can anyone test this patch and tell me whether it works?
Attached patch possible patch (with typo fixed) (obsolete) β€” β€” Splinter Review
try this one, not the last one :)
Attachment #195326 - Attachment is obsolete: true
Comment on attachment 195329 [details] [diff] [review]
possible patch (with typo fixed)

the directory in reporter/ is locales (not locale).  With that, the patch fixes
the bug.
Attached patch patch β€” β€” Splinter Review
thanks for testing
Assignee: nobody → cbiesinger
Attachment #195329 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #195386 - Flags: review?(benjamin)
Attachment #195386 - Flags: review?(benjamin) → review+
Checking in extensions/inspector/resources/Makefile.in;
/cvsroot/mozilla/extensions/inspector/resources/Makefile.in,v  <--  Makefile.in
new revision: 1.14; previous revision: 1.13
done
Checking in extensions/reporter/Makefile.in;
/cvsroot/mozilla/extensions/reporter/Makefile.in,v  <--  Makefile.in
new revision: 1.9; previous revision: 1.8
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment on attachment 195386 [details] [diff] [review]
patch

this patch makes "make install" do the right thing
Attachment #195386 - Flags: approval1.8b5?
Attachment #195386 - Flags: approval1.8b5? → approval1.8b5+
fixed on MOZILLA_1_8_BRANCH for 1.8b5

Checking in extensions/inspector/resources/Makefile.in;
/cvsroot/mozilla/extensions/inspector/resources/Makefile.in,v  <--  Makefile.in
new revision: 1.12.2.2; previous revision: 1.12.2.1
done
Checking in extensions/reporter/Makefile.in;
/cvsroot/mozilla/extensions/reporter/Makefile.in,v  <--  Makefile.in
new revision: 1.7.2.2; previous revision: 1.7.2.1
done
Keywords: fixed1.8
Target Milestone: --- → Seamonkey1.0alpha
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: