[Mono-bugs] [Bug 439251] New: Copy / Paste from / to RichtTextBox differs in Mono from MS.net implementation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 27 12:56:24 EDT 2008


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


           Summary: Copy / Paste from / to RichtTextBox differs in Mono from
                    MS.net implementation
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: fbergman at u.washington.edu
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:
I've encountered the following difference from MS .net behavior. When copying a
line of text from a richtextbox and then pasting it below using the MS.net,
results in the line of text duplicated. However using Mono (2.0.1) (tested on
OS X) results in the paste being encapsulated in rtf tags, like: 

{\rtf1\ansi\ansicpg1252\deff0\deflang1033
{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
{\*\generator Mono RichTextBox;}\pard\f0\fs28
{\rtf1\ansi\ansicpg1252\deff0\deflang1033
\par
{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
\par
{\*\generator Mono RichTextBox;}\pard\f0\fs28\par
}


Steps to reproduce the problem:
1. create a new winform, containing only a richtext box
2. enter some text, copy and baste it below


Actual Results:
the text pasted below will contain rtf tags ... instead of just the text


Expected Results:
i would expect the text below to be a duplicate text 


How often does this happen? 
always

Additional Information:


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