Closed Bug 39786 Opened 26 years ago Closed 26 years ago

xlib toolkit broken? (M15)

Categories

(Core :: XUL, defect, P3)

x86
FreeBSD
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mi+mozilla, Assigned: blizzard)

Details

I chose the xlib toolkit, hoping to gain a lighter executable. A number of problems popped up, which I fixed to the best of my abilities. Now that the thing finally compiled it is unusable. The initial, "Configure Profile" window appears to be of zero size. Once I maximize it, it appears black with nothing in it... mi@misha:~/t/tcl/uploader (203) mozilla .//run-mozilla.sh ./mozilla-bin MOZILLA_FIVE_HOME=/opt/lib/mozilla LD_LIBRARY_PATH=/opt/lib/mozilla SHLIB_PATH=/opt/lib/mozilla LIBPATH=/opt/lib/mozilla MOZ_PROGRAM=./mozilla-bin MOZ_TOOLKIT= moz_debug=0 moz_debugger= nNCL: registering deferred (0) Profile Manager : Profile Wizard and Manager activites : Begin Profile Manager : Command Line Options : Begin Profile Manager : Command Line Options : End WEBSHELL+ = 1 Getting the xlib connection number. WEBSHELL+ = 2 NS_TimeToNextTimeout() lives! calling loadpage... startPage:: newProfile1_1 got a request Move window by 639.5,511.5 handling client message NS_ProcessTimeouts() lives! handling client message handling client message handling client message handling client message handling client message got a delete window event nsWidget::OnDeleteWindow() ~nsProfile WEBSHELL- = 1 When I close the window (window manager's close) I see: XFreePixmap(display = 0x80d8000) XFreePixmap(display = 0x80d8000) XFreePixmap(display = 0x80d8000) XFreePixmap(display = 0x80d8000) XFreePixmap(display = 0x80d8000) XFreePixmap(display = 0x80d8000) XFreePixmap(display = 0x80d8000) XFreePixmap(display = 0x80d8000) XFreePixmap(display = 0x80d8000) XFreePixmap(display = 0x80d8000) XFreePixmap(display = 0x80d8000) XFreePixmap(display = 0x80d8000) WEBSHELL- = 0 Segmentation fault - core dumped The patches I had to apply to compile: --- work/mozilla/extensions/xmlterm/base/mozLineTerm.cpp.mi Tue Apr 4 00:40 :58 2000 +++ work/mozilla/extensions/xmlterm/base/mozLineTerm.cpp Thu May 18 17:38 :43 2000 @@ -395,5 +395,9 @@ prompt_regexp, options, processType, nRows, nCols, xPixels, yPixels, +#ifdef NO_CALLBACK + NULL, (void *) this); +#else mozLineTerm::Callback, (void *) this); +#endif } else { result = lterm_open(mLTerm, NULL, cookieCStr, initCStr.GetBuffer(), @@ -426,4 +430,5 @@ +#ifndef NO_CALLBACK /** GTK-style callback funtion for mozLineTerm object */ @@ -442,4 +447,5 @@ return; } +#endif /** Suspends (or restores) LineTerm activity depending upon aSuspend --- work/mozilla/extensions/xmlterm/base/mozLineTerm.h.mi Tue Apr 4 00:41:06 2000 +++ work/mozilla/extensions/xmlterm/base/mozLineTerm.h Thu May 18 17:34:25 2000 @@ -99,4 +99,5 @@ // others +#ifndef NO_CALLBACK /** GTK event callback function */ @@ -104,4 +105,5 @@ gint source, GdkInputCondition condition); +#endif /** Flag controlling logging of user input to STDERR */ --- work/mozilla/widget/src/xlib/nsLookAndFeel.cpp.orig Mon Apr 3 18:46:50 2000 +++ work/mozilla/widget/src/xlib/nsLookAndFeel.cpp Thu May 18 16:51:11 2000 @@ -48,4 +48,5 @@ if (mXPLookAndFeel) { + nsresult res; res = mXPLookAndFeel->GetColor(aID, aColor); if (NS_SUCCEEDED(res))
mi+mozilla@aldan.algebra.com - just to confirm, you were using the M15 source release? Gerv
updating component and owner
Assignee: asadotzler → trudelle
Component: Browser-General → XP Toolkit/Widgets
QA Contact: jelwell → jrgm
The xlib work has been on hiatus for a while, and it's not surprising that it may have bit-rotted a little, but blizzard's the man with the complete answer.
Assignee: trudelle → blizzard
Severity: blocker → normal
Target Milestone: --- → M20
Yep, it's currently unmaintained. I'm not intending to fix it any time in the future.
Status: UNCONFIRMED → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.