[Mono-bugs] [Bug 588313] New: ArgumentOutOfRangeException when accessing RichTextBox.Lines property

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 15 08:12:12 EDT 2010



           Summary: ArgumentOutOfRangeException when accessing
                    RichTextBox.Lines property
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andreas.flucke at t-online.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=348414)
 --> (http://bugzilla.novell.com/attachment.cgi?id=348414)
testcase (test.cs,Exception.txt,.rtf file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

In the appended testcase a RTF is loaded into a RTB. The SelectionChanged Event
tries to show the Number of Lines via the Lines property. This can sometimes
lead to an ArgumentOutOfRangeException (see appended Exception.txt file)

Reproducible: Always

Steps to Reproduce:
1.compile and run the attached testcase (test.cs)
2.Press the <Down> key (cursor jumps to next line)
3.Press the <Enter> key -> Exception is thrown

This doesn't happen in SuseLinux

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list