[Mono-bugs] [Bug 661753] New: The method Clone() of a TreeNode does not copy all properties
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Dec 29 10:54:41 EST 2010
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: mono-bugs at lists.ximian.com
ReportedBy: oliver.thimm at web.de
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list