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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77854 --- shadow/77854 2006-03-20 07:01:42.000000000 -0500 +++ shadow/77854.tmp.13084 2006-03-20 07:01:42.000000000 -0500 @@ -0,0 +1,108 @@ +Bug#: 77854 +Product: Mono: Runtime +Version: 1.1 +OS: +OS Details: Slackware 10, 2.6.12 Linux Kernel +Status: NEW +Resolution: +Severity: Unknown +Priority: Major +Component: JIT +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Textbox or Richtextbox controls won't work! + +Please fill in this template when reporting a bug, unless you know what you +are doing. +Description of Problem: + + +Steps to reproduce the problem: +1.Code up any Form with a Textbox or Richtextbox +2.mcs -r:System.Windows.Forms.dll -r:System.Drawing.dll new.cs +3.mono new.exe + +Here is the actual code I used: +using System; +using System.Drawing; +using System.Windows.Forms; +//using System.Data; + +namespace Linux2WindowsApp +{ + + +public class Form1 : Form +{ + TextBox rt1 = new TextBox(); + + public Form1() + { + + rt1.Location = new Point(126, 28); + rt1.Name = "rt1"; + rt1.Size = new Size(112, 20); + rt1.Text = ""; + + Controls.Add(rt1); + } + + static void Main() + { + Application.Run(new Form1()); + } +} +} + + +Actual Results: +mono new.exe +Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6 14:35:24] +Keyboard: United States keyboard layout (phantom key version) +Gtk colorscheme read + +Unhandled Exception: System.NullReferenceException: Object reference not +set to an instance of an object +in <0x0048d> System.Windows.Forms.Line:RecalculateLine +(System.Drawing.Graphics g, System.Windows.Forms.Document doc) +in <0x000ce> System.Windows.Forms.Document:RecalculateDocument +(System.Drawing.Graphics g, Int32 start, Int32 end, Boolean optimize) +in <0x00017> System.Windows.Forms.Document:RecalculateDocument +(System.Drawing.Graphics g) +in <0x00026> System.Windows.Forms.Document:owner_HandleCreated +(System.Object sender, System.EventArgs e) +in (wrapper delegate-invoke) +System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) +in <0x00023> System.Windows.Forms.Control:OnHandleCreated (System.EventArgs e) +in <0x0000d> System.Windows.Forms.TextBoxBase:OnHandleCreated +(System.EventArgs e) +in <0x0000d> System.Windows.Forms.TextBox:OnHandleCreated (System.EventArgs e) +in <0x00240> System.Windows.Forms.Control:CreateHandle () +in <0x0000a> System.Windows.Forms.TextBoxBase:CreateHandle () +in <0x00024> System.Windows.Forms.Control:get_Handle () +in (wrapper remoting-invoke-with-check) +System.Windows.Forms.Control:get_Handle () +in <0x0005b> System.Windows.Forms.Document:PositionCaret +(System.Windows.Forms.Line line, Int32 pos) +in <0x00321> System.Windows.Forms.TextBoxBase:set_Text (System.String value) +in <0x0000d> System.Windows.Forms.TextBox:set_Text (System.String value) +in <0x000df> Linux2WindowsApp.Form1:.ctor () +in (wrapper remoting-invoke-with-check) Linux2WindowsApp.Form1:.ctor () +in <0x00018> Linux2WindowsApp.Form1:Main () + + + +Expected Results: +New window with my textbox in it. + + +How often does this happen? +Everytime. + +Additional Information: +I've installed 3 times now to try and get it to work. mono-1.1.10, +mono-1.1.13.4, and mono-1.1.13.4 again. Please help with a fix. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
