[Mono-bugs] [Bug 78532][Nor] New - weird behaviors in Form.FormBorderStyle = .SizableToolWindow

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 29 10:48:08 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by atsushi at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78532

--- shadow/78532	2006-05-29 10:48:08.000000000 -0400
+++ shadow/78532.tmp.17361	2006-05-29 10:48:08.000000000 -0400
@@ -0,0 +1,93 @@
+Bug#: 78532
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: weird behaviors in Form.FormBorderStyle = .SizableToolWindow
+
+Form shows weird behavior when its FormBorderStyle =
+FormBorderStyle.SizableToolWindow.
+
+Run winforms/toolwindows and see what happens on SizableToolWindow.
+
+- Linux: cannot resize the form.
+
+
+Steps to reproduce the problem:
+1. Run winforms/toolwindows/swf-toolwindows.exe
+2. show the first form by clicking the button, and hide.
+3. Do the same. Now SizableToolWindow is shown.
+4. On Windows, try to move the window by drugging the caption bar.
+
+Actual Results:
+
+On Linux, the window is not sizable.
+
+On Windows, the following error happens when MouseUp happens.
+
+$ mono --debug swf-toolwindows.exe
+Mono System.Windows.Forms Assembly [$auto_build_revision$]
+
+Unhandled Exception: System.NullReferenceException: Object reference not set to
+an instance of an object
+in [0x000c4] (at
+C:\cygwin\home\atsushi\svn\mcs\class\Managed.Windows.Forms\Syst
+em.Windows.Forms\Control.cs:1805) System.Windows.Forms.Control:set_Cursor
+(Syste
+m.Windows.Forms.Cursor value)
+in [0x00002] (at
+C:\cygwin\home\atsushi\svn\mcs\class\Managed.Windows.Forms\Syst
+em.Windows.Forms\Control.cs:3056) System.Windows.Forms.Control:ResetCursor ()
+in [0x00006] (at
+C:\cygwin\home\atsushi\svn\mcs\class\Managed.Windows.Forms\System.Windows.Forms\InternalWindowManager.cs:442)
+System.Windows.Forms.InternalWindowManager:FormMouseLeave
+(System.Windows.Forms.Message m)
+in [0x0022f] (at
+C:\cygwin\home\atsushi\svn\mcs\class\Managed.Windows.Forms\System.Windows.Forms\InternalWindowManager.cs:213)
+System.Windows.Forms.InternalWindowManager:HandleMessage
+(System.Windows.Forms.Message m)
+in [0x00013] (at
+C:\cygwin\home\atsushi\svn\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:1681)
+System.Windows.Forms.Form:WndProc (System.Windows.Forms.Message m)
+in [0x00007] (at
+C:\cygwin\home\atsushi\svn\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:162)
+System.Windows.Forms.Control+ControlNativeWindow:WndProc
+(System.Windows.Forms.Message m)
+in [0x00056] (at
+C:\cygwin\home\atsushi\svn\mcs\class\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:146)
+System.Windows.Forms.NativeWindow:WndProc
+(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
+in (wrapper native-to-managed) System.Windows.Forms.NativeWindow:WndProc
+(intptr,System.Windows.Forms.Msg,intptr,intptr)
+in <0x00000> <unknown method>
+in (wrapper managed-to-native)
+System.Windows.Forms.XplatUIWin32:Win32DispatchMessage
+(System.Windows.Forms.MSG&)
+in [0x00001] (at
+C:\cygwin\home\atsushi\svn\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:1497)
+System.Windows.Forms.XplatUIWin32:DispatchMessage (System.Windows.Forms.MSG
+msg)
+in [0x00006] (at
+C:\cygwin\home\atsushi\svn\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUI.cs:420)
+System.Windows.Forms.XplatUI:DispatchMessage (System.Windows.Forms.MSG msg)
+in [0x0023e] (at
+C:\cygwin\home\atsushi\svn\mcs\class\Managed.Windows.Forms\Syst
+em.Windows.Forms\Application.cs:490)
+System.Windows.Forms.Application:RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context)
+in [0x00007] (at
+C:\cygwin\home\atsushi\svn\mcs\class\Managed.Windows.Forms\Syst
+em.Windows.Forms\Application.cs:384) System.Windows.Forms.Application:Run
+(System.Windows.Forms.Form mainForm)
+in <0x00022> ToolWindowTest:Main ()


More information about the mono-bugs mailing list