[Mono-bugs] [Bug 498364] New: RichTextBox: the LoadFile() method can't show the pictures from the file it loads

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 27 05:09:44 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=498364


           Summary: RichTextBox: the LoadFile() method can't show the
                    pictures from the file it loads
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: i686
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: fxmu at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


REPRO

1.  Save the two attenchment program in a directory 
2.  Run the attachment richtextbox.test.py 
3.  From the GUI, we can see that the third richtextbox has not load any table,
picture and link in it but string.


RESULTS

the third richtextbox only shows the strings in  richtext.rtf

EXPECTED RESULTS

the third richtextbox should shows all the things (picture, link, table) in 
richtext.rtf

COMMENTS

Using RichTextBox control , can show or edit data stream(including paragraph
,picture,table etc).
from MSDN"The RichTextBox control allows the user to enter and edit text while
also providing more advanced formatting features than the standard TextBox
control.Text can be assigned directly to the control, or can be loaded from a
rich text format (RTF) or plain text file."
so , the LoadFile method should enable you to load an existing RTF or ASCII
text file into the control.In the attachment richtextbox.test.py, Line 94, we
use LoadFile to load a file "richtext.rtf" who has a table, picture and link in
it, but the richtextbox shows the rtf not correctly, so it maybe a WinForm bug.

-- 
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