[Mono-bugs] [Bug 678200] New: RichTextBox.SelectionBackColor is not rendered

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 9 12:33:09 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=678200

https://bugzilla.novell.com/show_bug.cgi?id=678200#c0


           Summary: RichTextBox.SelectionBackColor is not rendered
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rhejinald at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=418356)
 --> (http://bugzilla.novell.com/attachment.cgi?id=418356)
Compile-ready code which demonstrates the bug

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15)
Gecko/20110303 Firefox/3.6.15

Basically, with a RichTextBox component in a Form, the following line is
expected to add a back colour (in this case, the colour blue) to a selected
article of text. Code which produces the desired effect in Microsoft Visual C#
Express 2010 does not function when compiled with Mono 2.10.1.

richTextBox1.SelectionBackColor = System.Drawing.Color.Blue;

Reproducible: Always

Steps to Reproduce:
1. Apply a colour (Drawing.Color.x) to the SelectionBackColor property.
Actual Results:  
Selected text remains with the default background colour.

Expected Results:  
Background colour of selected text changes to the colour applied.

Compiled using: gmcs BugSample.cs -pkg:dotnet
Executed using: mono BugSample.exe

-- 
Configure bugmail: https://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