[Mono-bugs] [Bug 510728] New: Difference in behavior of DataObject.SetData(object) compard to .NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 5 22:41:57 EDT 2009


           Summary: Difference in behavior of DataObject.SetData(object)
                    compard to .NET
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=296621)
 --> (http://bugzilla.novell.com/attachment.cgi?id=296621)
simple test program showing problem with SetData

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10

DataObject d = new DataObject();
d.SetData("Hello world");

Displays "Hello world" on .NET nothing on mono.

However If use SetData(type, object) 

d.SetData(DataFormats.Text, "Hello world");

it displays "Hello world" on .NET and mono.

Attaching test program showing problem.

Reproducible: Always

Steps to Reproduce:
1. Compile and Run attached test case
Actual Results:  
"Hello world" is NOT displayed

Expected Results:  
"Hello world" is displayed

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