[Mono-winforms-list] Regression in PDN3

Miguel de Icaza miguel at ximian.com
Thu Nov 15 23:16:51 EST 2007


Hey folks,

    Today I launched PDN3 and it no longer renders the toolbar, here is
what shows up on the Console:

X11 Error encountered: 
  Error: BadMatch (invalid parameter attributes)
  Request:     12 (0)
  Resource ID: 0x42000FB
  Serial:      1557
  Hwnd:        Hwnd, Mapped:True ClientWindow:0x42000FC,
WholeWindow:0x42000FB, Zombie=False, Parent:[Hwnd, Mapped:True
ClientWindow:0x42000F2, WholeWindow:0x42000F1, Zombie=False,
Parent:[Hwnd, Mapped:True ClientWindow:0x42000F6, WholeWindow:0x42000F5,
Zombie=False, Parent:[<null>]]]
  Control:     System.Windows.Forms.ImplicitHScrollBar, Minimum: 0,
Maximum: 983, Value: 0   at System.Environment.get_StackTrace()
in /home/cvs/mcs/class/corlib/System/Environment.cs:line 203
   at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display,
XErrorEvent ByRef error_event)
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:line 1857
   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)
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:line 5278
   at
System.Windows.Forms.XplatUIX11.SetWMStyles(System.Windows.Forms.Hwnd
hwnd, System.Windows.Forms.CreateParams cp)
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:line 1053
   at
System.Windows.Forms.XplatUIX11.CreateWindow(System.Windows.Forms.CreateParams cp) in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:line 2675
   at
System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp) in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:line 450
   at
System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams create_params) in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:line 112
   at System.Windows.Forms.Control.CreateHandle()
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:line 4221
   at System.Windows.Forms.Control.CreateControl()
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:line 3587
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:line 4769
   at System.Windows.Forms.Control.set_Visible(Boolean value)
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:line 3259
   at System.Windows.Forms.ScrollableControl.Recalculate(Boolean
doLayout)
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:line 931
   at
System.Windows.Forms.ScrollableControl.AdjustFormScrollbars(Boolean
displayScrollbars)
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:line 598
   at
System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent) in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:line 611
   at
System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control
affectedControl, System.String affectedProperty)
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:line 3857
   at System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32
width, Int32 height, BoundsSpecified specified)
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:line 4150
   at System.Windows.Forms.Control.set_Size(Size value)
in /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:line 3105
   at PaintDotNet.SurfaceBox.set_Surface(PaintDotNet.Surface value)
in /cvs/pdn3/src/PdnLib/SurfaceBox.cs:line 68
   at PaintDotNet.DocumentView.DocumentSetImpl(PaintDotNet.Document
value) in /cvs/pdn3/src/Data/DocumentView.cs:line 815
   at PaintDotNet.DocumentView.set_Document(PaintDotNet.Document value)
in /cvs/pdn3/src/Data/DocumentView.cs:line 775
   at PaintDotNet.AppWorkspace.CreateBlankDocumentInNewWorkspace(Size
size, MeasurementUnit dpuUnit, Double dpu, Boolean isInitial)
in /cvs/pdn3/src/AppWorkspace.cs:line 1916
   at PaintDotNet.MainForm..ctor(System.String[] args)
in /cvs/pdn3/src/MainForm.cs:line 300
   at PaintDotNet.Startup.StartPart2() in /cvs/pdn3/src/Startup.cs:line
317
   at PaintDotNet.Startup.Start() in /cvs/pdn3/src/Startup.cs:line 262
   at PaintDotNet.Startup.Main(System.String[] args)
in /cvs/pdn3/src/Startup.cs:line 373



More information about the Mono-winforms-list mailing list