https://bugzilla.novell.com/show_bug.cgi?id=661753
https://bugzilla.novell.com/show_bug.cgi?id=661753#c0 Summary: The method Clone() of a TreeNode does not copy all properties Classification: Mono Product: Mono: Class Libraries Version: 2.8.x Platform: x86 OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: Corporate Interoperability Test Blocker: --- Created an attachment (id=406527) --> (http://bugzilla.novell.com/attachment.cgi?id=406527) Test application to demonstrate the bug. Description of Problem: The method Clone() of a TreeNode instance does not a create a copy of the properties ContextMenu, ContextMenuStrip, ToolTipText, Name, ImageKey, SelectedImageKey, StateImageKey and StateImageIndex; Steps to reproduce the problem: 1. Compile and run the attached code. Actual Results: On Windows (Mono 2.8.x) the application prints several errors about all properties which are not copied with ::Clone(). Expected Results: No error messages (verfied with .NET runtime). How often does this happen? Always. Additional Information: As you can have only StateImageKey or StateImageIndex the test might issue an error message for this even if the bug is fixed (on .NET it does not). -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
