[Mono-dev] Bug in Screen.GetBounds and missing ld-config file after mono 2.10.1 installation from source
Quandary
quandary82 at hailmail.net
Sun Mar 6 18:38:31 EST 2011
One additional bug:
If in SetFormDesign (called in Form1.Form1_Load)
I set this.ShowInTaskbar = false;
private void SetFormDesign()
{
//this.Opacity = 50;
this.FormBorderStyle = FormBorderStyle.None;
this.ShowIcon = false;
this.Text = string.Empty;
this.ControlBox = false; // No Close cross etc.
// Additionally if the Form is designed to be a pop-up
dialog, you might want to add the following line:
//this.ShowInTaskbar = false;
//this.WindowState = FormWindowState.Maximized;
}
Then I get:
X11 Error encountered:
Error: BadWindow (invalid Window parameter)
Request: 12 (0)
Resource ID: 0x400000F
Serial: 962
Hwnd: Hwnd, Mapped:False ClientWindow:0x400000F,
WholeWindow:0x400000E, Zombie=True, Parent:[<null>]
Control: ScreenCaptures.Form1, Text: at
System.Environment.get_StackTrace()
at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display,
XErrorEvent ByRef error_event)
at System.Windows.Forms.XplatUIX11.XGetWindowProperty(IntPtr , IntPtr
, IntPtr , IntPtr , IntPtr , Boolean , IntPtr , IntPtr ByRef , Int32
ByRef , IntPtr ByRef , IntPtr ByRef , IntPtr ByRef )
at System.Windows.Forms.XplatUIX11.UpdateWindowState(IntPtr handle)
at System.Windows.Forms.XplatUIX11.GetWindowState(IntPtr handle)
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.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.WmPaint(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.DispatchMessage(MSG ByRef msg)
at System.Windows.Forms.XplatUI.DispatchMessage(MSG ByRef msg)
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 ScreenCaptures.Program.Main()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110307/c2cfc982/attachment.html
More information about the Mono-devel-list
mailing list