https://bugzilla.novell.com/show_bug.cgi?id=464191
Summary: TreeView / TreeNode selection isn't cancelled properly
Product: Mono: Class Libraries
Version: 2.2.x
Platform: Other
OS/Version: Windows
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: Community User
Created an attachment (id=263659)
--> (https://bugzilla.novell.com/attachment.cgi?id=263659)
Testcase (sources + binaries)
See testcase.
We have a simple TreeView with 3 nodes.
We catch the "BeforeSelect" event to cancel the selection, like this:
void TreeView1BeforeSelect(object sender, TreeViewCancelEventArgs e)
{
e.Cancel = true;
}
In Mono, the concerned node is still highlighted after having been selected.
Click on other nodes then, and each of them will stay highlighted.
With MS .NET, the node is only highlighted until you release the mouse button.
I can confirm the presence of this bug with Mono 2.0.x and 2.2.x on Windows,
but can't check Linux at the moment.
--
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