[Mono-winforms-list] 0.31 install yielding X error: BadDrawable as well

Wayne.Arenz@gd-ais.com Wayne.Arenz@gd-ais.com
Fri, 19 Mar 2004 14:00:26 -0800

XraniX reported a few days ago a particular error; his installs were from
the CVS modules.

I installed mono 0.31 and performed a ./configure, make, make install on
winelib 0.1 sourcecode from the go-mono home.  I had/have the latest wine
installed, and I had mono 0.30.2.

I had also (the previous day) made several attempts to build mono
(fullbuild) from CVS.  I didn't succeed with these, reaching a point where
"assembly mcs.exe could not be loaded" ... this despite mcs being present.
I couldn't figure this out by the end of the day, so I hopped on the 0.31
package distribution this morning for salvation.

After the package installs I ran into various and sundry issues such as
mscorlib reported as out of synch (have 10 looking for 14), etc.  Somehow I
have more or less resolved these issues by a combination of deleting
directories, de-installing/reinstalling packages, and giving the env
variable LD_LIBRARY_PATH a value pointing to my mono libraries.

mono 0.31 is now faithfully presenting a simple, simple, simple SWF on my
SuSE/x86:  a Form containing a TextBox.

However, anything more complex -- a few Labels, TextBoxes, and a couple of
Buttons yields the following.  By the way, this same type of "more complex"
test case WAS rendering ok on RedHat using the mono-wine-0.28.

monouser@linux:~/mono_test_jason/windows-forms-demo/bin/Release> mono
****************** Starting up
Form.assignMenu. result 1
Control notification Code 768 Id = Hwnd 65572
Control notification Code 1024 Id = Hwnd 65572
WARNING: Missing call to FillRectangle in OnPaintBackground
GdipCreateBitmapFromGraphics: This routine has not been checked for stride
WARNING: bitmap.c(230) initializing bitmap to 0xff in
GdipCreateBitmapFromGraphics (for SWF)
DrawText ToHfont() hack active
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 152 (RENDER)
Minor opcode of failed request: 4 (RenderCreatePicture)
Resource id in failed request: 0x0
Serial number of failed request: 132
Current serial number in output stream: 163