[Mono-bugs] [Bug 464191] New: TreeView / TreeNode selection isn't cancelled properly
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jan 7 12:34:16 EST 2009
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: mono-bugs at lists.ximian.com
ReportedBy: stifu at free.fr
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list