Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=82404 --- shadow/82404 2007-08-10 16:24:13.000000000 -0400 +++ shadow/82404.tmp.1788 2007-08-10 16:24:13.000000000 -0400 @@ -0,0 +1,54 @@ +Bug#: 82404 +Product: Mono: Class Libraries +Version: 1.2 +OS: RHEL 2.1 +OS Details: RHEL WS +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: TreeView Drag/Drop problems and differences from MS + +Please fill in this template when reporting a bug, unless you know what +you are doing. +Description of Problem: +My app uses Drag/Drop and there are two problems. I'm using Drag/Drop in +a TreeView + +First, I notice that when I click on a treeview node on mono +the "ItemDrag" is invoked. This behavior is different from MS - when +running on MS that function is not invoked until the mouse cursor is +actually dragged outside the minimum number of drag pixels. + +Second, my implementation of ItemDrag is only one line. + Control.DoDragDrop(e.Item, DragDropEffects.Move); +and this causes my app to signal a Segmentation Fault. + + +Steps to reproduce the problem: +1. Add a TreeView to a Form and put some items in it. At startup, set +the TreeView.AllowDrop = true +2. Add a TreeView.ItemDrag handler and make the implementation one line: +myTreeView.DoDragDrop(e.Item, DragDropEffects.Move); +3. compile and run the app and click on one of the items in the tree view. + +Actual Results: +1. Clicking an item triggers the ItemDrag event. It shouldn't, that +event should not fire until the item is actually dragged. +2. Furthermore, when that event does run calling the DoDragDrop causes +the app to seg fault on linux. + + +How often does this happen? +every time + +Additional Information: +I'm using the latest SVN source as of 08/10/2007 and Red Hat Enterprise +Linux _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
