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=80601 --- shadow/80601 2007-01-24 10:14:59.000000000 -0500 +++ shadow/80601.tmp.19694 2007-01-24 10:14:59.000000000 -0500 @@ -0,0 +1,56 @@ +Bug#: 80601 +Product: Mono: Class Libraries +Version: 1.2 +OS: other +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Cosmetic +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: StatusBar displays too much text + +Description of Problem: +The documentation for StatusBar.Text states: +The StatusBar control displays only the first 127 characters of a string. + +Steps to reproduce the problem: +Compile and run the following program. +using System.Text; +using System.Windows.Forms; +class TestForm : Form { + static void Main() { + Application.Run(new TestForm()); + } + public TestForm() { + StringBuilder b = new StringBuilder(); + b.Append(' '); + for (int i = 0; i < 8; i++) + b.Append(b); + b[127] = 'a'; + StatusBar s = new StatusBar(); + s.SizingGrip = false; + s.Text = b.ToString(); + Controls.Add(s); + Width = (int)s.CreateGraphics().MeasureString(s.Text, +s.Font).Width + 100; + } +} + +Actual Results: +"a" is visible. + +Expected Results: +"a" is not visible. + +How often does this happen? +Always (on the SVN version). + +Additional Information: +I can't imagine someone relying on this limitation. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
