[Mono-bugs] [Bug 342932] New: X11 error with Panel and AutoScroll
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Nov 20 05:17:08 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=342932
Summary: X11 error with Panel and AutoScroll
Product: Mono: Class Libraries
Version: 1.2.6
Platform: x86-64
OS/Version: SLES 10
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at ximian.com
ReportedBy: carsten.sponsel at astrum-it.de
QAContact: mono-bugs at ximian.com
Found By: ---
Created an attachment (id=184015)
--> (https://bugzilla.novell.com/attachment.cgi?id=184015)
TestApplication that shows the error
Description of Problem:
On startup my Application writes an X11 error to the Console but it does not
crash.
Steps to reproduce the problem:
1. Compile the Source file i attached with
gmcs -warn:4 -optimize+ -t:winexe -r:System.Windows.Forms -r:System.Drawing
-out:TestApp.exe TestApp.cs
2. Start TestApp.exe from a console
3. See error output on the Console
Actual Results:
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 12 (0)
Resource ID: 0x4C0001A
Serial: 283
Hwnd: Hwnd, Mapped:False ClientWindow:0x4C0001B,
WholeWindow:0x4C0001A, Zombie=False, Parent:[Hwnd, Mapped:False
ClientWindow:0x4C00015, WholeWindow:0x4C00014, Zombie=False, Parent:[Hwnd,
Mapped:False ClientWindow:0x4C00013, WholeWindow:0x4C00012, Zombie=False,
Parent:[<null>]]]
Control: System.Windows.Forms.ImplicitHScrollBar, Minimum: 0, Maximum:
569, Value: 0 at System.Environment.get_StackTrace()
at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent
ByRef error_event)
at System.Windows.Forms.XplatUIX11.HandleError(IntPtr , XErrorEvent ByRef )
at System.Windows.Forms.XplatUIX11.XGetWMNormalHints(IntPtr , IntPtr ,
XSizeHints ByRef , IntPtr ByRef )
at System.Windows.Forms.XplatUIX11.XGetWMNormalHints(IntPtr , IntPtr ,
XSizeHints ByRef , IntPtr ByRef )
at System.Windows.Forms.XplatUIX11.SetWindowMinMax(IntPtr handle, Rectangle
maximized, Size min, Size max, System.Windows.Forms.CreateParams cp)
at System.Windows.Forms.XplatUIX11.SetWMStyles(System.Windows.Forms.Hwnd
hwnd, System.Windows.Forms.CreateParams cp)
at System.Windows.Forms.XplatUIX11.SetWindowStyle(IntPtr handle,
System.Windows.Forms.CreateParams cp)
at System.Windows.Forms.XplatUI.SetWindowStyle(IntPtr handle,
System.Windows.Forms.CreateParams cp)
at System.Windows.Forms.Control.UpdateStyles()
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.TextBoxBase.CreateHandle()
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message ByRef m)
at System.Windows.Forms.Control.WndProc(Message ByRef m)
at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef
m)
at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam)
at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message,
IntPtr wParam, IntPtr lParam)
at
System.Windows.Forms.XplatUIX11.CreateWindow(System.Windows.Forms.CreateParams
cp)
at
System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp)
at
System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams
create_params)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message ByRef m)
at System.Windows.Forms.Control.WndProc(Message ByRef m)
at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
at System.Windows.Forms.Form.WndProc(Message ByRef m)
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef
m)
at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam)
at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message,
IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.XplatUIX11.MapWindow(System.Windows.Forms.Hwnd hwnd,
WindowType windows)
at
System.Windows.Forms.XplatUIX11.CreateWindow(System.Windows.Forms.CreateParams
cp)
at
System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp)
at
System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams
create_params)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.RunLoop(Boolean Modal,
System.Windows.Forms.ApplicationContext context)
at
System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext
context)
at System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)
at TestApp.TestApp.Main()
Expected Results:
Not the above output
How often does this happen?
Everytime i start my application.
Additional Information:
I suppose it has something to do with AutoScroll and a Panel that has Controls
inside and use a Resize-Handler.
My X11 version is 6.9.0, KDE version is 3.5
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list