[Mono-bugs] [Bug 79581][Nor] New - RichTextBox: ArgumentOutOfRangeException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Oct 4 12:06:12 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 alex.olk at googlemail.com.

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

--- shadow/79581	2006-10-04 12:06:12.000000000 -0400
+++ shadow/79581.tmp.12181	2006-10-04 12:06:12.000000000 -0400
@@ -0,0 +1,57 @@
+Bug#: 79581
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: alex.olk at googlemail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: RichTextBox: ArgumentOutOfRangeException
+
+Download the following rtf file:
+
+www.gruene-nrw.de/fileadmin/user_upload/files/Allgemein/koalitionsvertrag_rtf.rtf
+
+Now start winforms/wordpad/wordpad.exe and load the rtf file (takes some
+time until wordpad is available again)
+
+Resize wordpad (make it bigger).
+
+Now start to scroll down with the scrollbar. After some time you get a
+ArgumentOutOfRangeException:
+
+Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of
+range.
+  at System.Text.StringBuilder.ToString (Int32 startIndex, Int32 length)
+[0x00000] 
+  at System.Windows.Forms.Document.Draw (System.Drawing.Graphics g,
+Rectangle clip) [0x00000] 
+  at System.Windows.Forms.TextBoxBase.OnPaintInternal
+(System.Windows.Forms.PaintEventArgs pevent) [0x00000] 
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message m)
+[0x00000] 
+  at System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message
+m) [0x00000] 
+  at System.Windows.Forms.RichTextBox.WndProc (System.Windows.Forms.Message
+m) [0x00000] 
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message m) [0x00000] 
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.DispatchMessage
+(System.Windows.Forms.MSG msg) [0x00000] 
+  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG
+msg) [0x00000] 
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x00000] 
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
+mainForm) [0x00000] 
+  at WordPad.WordPad.Main (System.String[] args) [0x00000]


More information about the mono-bugs mailing list