[Mono-bugs] [Bug 578079] New: Adding a TreeNode within TreeView DoubleClick event leads to incompatible behavior

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 8 15:27:27 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=578079

http://bugzilla.novell.com/show_bug.cgi?id=578079#c0


           Summary: Adding a TreeNode within TreeView DoubleClick event
                    leads to incompatible behavior
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andreas.flucke at t-online.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=341363)
 --> (http://bugzilla.novell.com/attachment.cgi?id=341363)
testcase unnamed.cs

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
NET4.0C; .NET4.0E)

When adding a (child-)TreeNode within the DoubleClick event (see appended
testcase), the other Node expands (unexpectedly). This is different from what
is happening in MS.Net, where the Node isn't expanded (only the plus sign
appears). On the other hand, BeforeExpand isn't called this way. I would
suggest to do it in the MS.Net way.

Reproducible: Always

Steps to Reproduce:
1.compile and run attached testcase
2.double click on Node0
3.
Actual Results:  
SubNode appears under Node0

Expected Results:  
Only the plus sign should appear, not expanding should happen

-- 
Configure bugmail: http://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