I'm sorry to repost this. I forgot that there's a separate macosx
newsgroup and posted this to n.p.m.mac.
This might be a silly question. A couple of days ago, I got a new power
mac g5 and built a debug build successfully. When I launched my build
from Terminal.app (exactly the same way as I always
have done on Linux and Windows, which is running my custom shell script,
which is in turn equivalent to 1) cd to the mozilla binary directory and
2) run 'mozilla'), Mozilla window came up with the default
start page (http://www.mozilla.org/start). However, I couldn't do
anything with it because I can't move the focus to it. The menu at the
top of the screen remained that of Terminal.app. On the other hand,
'minimize', 'maximize', and 'close' buttons at the top left corner of
Mozilla window work. I can also move the window around.
Moreover, when I hover over links, the links change colors (mouse
hovering events are passed to mozilla), but clicking on links doesn't work.
Below is an excerpt from the run-log. Warning messages recorded by
nsWindowMediator.cpp and nsScreenManager.cpp look suspicious, but
otherwise I'm clueless. Could anybody tell me what I'm missing here?
BTW, I used gcc 3.3 (gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build
1640)) and gmake 3.79.
It'd be nice if somebody could shed light on what's going on here.
TIA,
Jungshik
For application/x-java-vm found plugin Java Applet Plugin Enabler
[loaded plugin /Library/Internet Plug-Ins/Java Applet Plugin Enabler]
++WEBSHELL == 2
++DOMWINDOW == 2
Note: verifyreflow is disabled
CSS Error (chrome://global/skin/popup.css :49.24): Error in parsing
value for property '-moz-appe
arance'. Declaration dropped.
XP Popups: This is a nag to indicate that an inconsistent hack is being
done on the Mac for popup
s.
WARNING: trying to find screen for sizeless window, using primary
monitor, file /Users/jungshik/p
rj/moz/src/mozilla/gfx/src/mac/nsScreenManagerMac.cpp, line 119
Note: styleverifytree is disabled
Note: frameverifytree is disabled
CSS Error (chrome://global/skin/menu.css :49.24): Error in parsing value
for property '-moz-appea
rance'. Declaration dropped.
************************************************************
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "'[JavaScript Error: "popup has no properties" {file:
"chrome://navigator/content/m
ailNavigatorOverlay.xul" line: 152}]' when calling method:
[nsIDOMEventListener::handleEvent]" n
sresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"
location: "<unknown>" data:
yes]
************************************************************
WARNING: getting z level of unregistered window, file
/Users/jungshik/prj/moz/src/mozilla/xpfe/ap
pshell/src/nsWindowMediator.cpp, line 636
WARNING: getting z level of unregistered window, file
/Users/jungshik/prj/moz/src/mozilla/xpfe/ap
pshell/src/nsWindowMediator.cpp, line 636
XP Popups: This is a nag to indicate that an inconsistent hack is being
done on the Mac for popup
s.
WARNING: trying to find screen for sizeless window, using primary
monitor, file /Users/jungshik/p
rj/moz/src/mozilla/gfx/src/mac/nsScreenManagerMac.cpp, line 119
XP Popups: This is a nag to indicate that an inconsistent hack is being
done on the Mac for popup
s.
Javier Pedemonte - 03 May 2004 16:42 GMT
Which directory did you start mozilla from?
I don't know if you are familiar with the concept of Mac OS X
application bundles. When building on Mac OS X, all the application
bits get copied to .../dist/MozillaDebug.app; if you go into
.../dist/MozillaDebug.app/Contents/MacOS, you should be able to run
"./mozilla" from in there. It worked fine for me in this case.
Javier Pedemonte