[Mono-bugs] [Bug 509199] New: Clipboard.SetDataObject doesn't handle objects that implement IDataObject correctly. .NET difference
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jun 2 14:24:29 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=509199
Summary: Clipboard.SetDataObject doesn't handle objects that
implement IDataObject correctly. .NET difference
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
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=295797)
--> (http://bugzilla.novell.com/attachment.cgi?id=295797)
Test Programing using SetDataObject with object that implements IDataObejct
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10)
Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
If you do something like:
Clipboard.SetDataObject(new MyIDataObject(), false);
IDataObject dobj = Clipboard.GetDataObject();
Console.WriteLine(dobj.GetData("string"));
dobj.GetData() doesn't return expected result.
Reproducible: Always
Steps to Reproduce:
1. Compile and run Attached Test case
2.
3.
Actual Results:
IDataObject.GetFormats()
IDataObject.GetData(string)
Expected Results:
IDataObject.GetFormats(bool)
IDataObject.GetDataPresent(string,bool)
IDataObject.GetData(string,bool)
Hello World
--
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