http://bugzilla.novell.com/show_bug.cgi?id=509274
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=509274#c509199 Summary: Clipboard.SetDataObject doesn't handle objects that implement COM 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: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Created an attachment (id=295823) --> (http://bugzilla.novell.com/attachment.cgi?id=295823) Test case showing use of System.Runtime.InteropServices.ComTypes.IDataObject with SetDataObject 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 There are two different versions of IDataObject: System.Windows.Forms.IDataObject and System.Runtime.InteropServices.ComTypes.IDataObject SetDataObject should handle both. System.Windows.Forms IDataObject issues reported in bug #509199. Attached test case showing SetDataObject use with an object that implements System.Runtime.InteropServices.ComTypes.IDataObject. Reproducible: Always Steps to Reproduce: 1.Compile and Run test case. 2. 3. Actual Results: SetDataObject GetDataObject Expected Results: SetDataObject EnumFormatEtc(DATADIR) direction = DATADIR_GET EnumFormatEtc(DATADIR) end IEnumFORMATETC Reset IEnumFORMATETC Next celt = 1 IEnumFORMATETC Next celt = 1 IEnumFORMATETC Next celt = 1 IEnumFORMATETC Next celt = 1 IEnumFORMATETC Next celt = 1 IEnumFORMATETC Reset IEnumFORMATETC Next celt = 1 IEnumFORMATETC Next celt = 1 IEnumFORMATETC Next celt = 1 IEnumFORMATETC Next celt = 1 IEnumFORMATETC Next celt = 1 GetData format = 1 DVASPECT_CONTENT TYMED_HGLOBAL GetData end GetData format = 7 DVASPECT_CONTENT TYMED_HGLOBAL GetData end GetData format = 13 DVASPECT_CONTENT TYMED_HGLOBAL GetData end GetDataObject 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
