[Mono-bugs] [Bug 78323][Nor] New - TextBox cursor doesn't get moved if you resize a TextBox to the correct position

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun May 7 11:40:45 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 xenomorph2 at onlinehome.de.

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

--- shadow/78323	2006-05-07 11:40:45.000000000 -0400
+++ shadow/78323.tmp.5025	2006-05-07 11:40:45.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 78323
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: xenomorph2 at onlinehome.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TextBox cursor doesn't get moved if you resize a TextBox to the correct position
+
+If you have a multiline TextBox and resize the TextBox (for example resize
+a form with a TextBox with Dock = DockStyle.Fill) the cursor stays at the
+same x,y position it was before.
+
+On windows, the cursor moves to the position in the text it was before.
+
+When the cursor is at the end of the text (before resizing) and you then
+try to enter text you get a System.NullReferenceException in
+.Document:RecalculateDocument.
+
+Attached is a simple test case. Start the app and move the cursor to the
+last position in the text/behind the text. Now resize the form. The cursor
+stays at the same x,y position in the textbox window. Enter now some text
+and bang, NRE


More information about the mono-bugs mailing list