[Mono-bugs] [Bug 661755] New: The SelectedNode property of a TreeView changes after Dispose()

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 29 11:08:37 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=661755

https://bugzilla.novell.com/show_bug.cgi?id=661755#c0


           Summary: The SelectedNode property of a TreeView changes after
                    Dispose()
    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=406529)
 --> (http://bugzilla.novell.com/attachment.cgi?id=406529)
Test application to demonstrate the bug.

Description of Problem:

The property SelectedNode does not reflect the last selected node after the
Dispose() method of the TreeView has run as the .NET runtime does.

Steps to reproduce the problem:
1. Compile and run the attached code.

Actual Results:

   On Windows (Mono 2.8.x) the shows a message box with the text:
   "Selected nodes differ !".

Expected Results:

   A message box with the text: "Selected nodes identical"
   (verfied with .NET runtime).

How often does this happen?

   Always. 

Additional Information:

The TreeView::SelectedNode property returns only the 'selected_node' as long as
a handle for the TreeView is created otherwise the 'pre_selected_node'.

-- 
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