[Mono-bugs] [Bug 622318] New: Calling Dispose on a ListView emits Layout events. Doesn't on .NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 14 13:08:20 EDT 2010


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

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


           Summary: Calling Dispose on a ListView emits Layout events.
                    Doesn't on .NET
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=375936)
 --> (http://bugzilla.novell.com/attachment.cgi?id=375936)
Test case showing Layout Events after calling Dispose.

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
(KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5

After calling Dispose on a ListView derived class, Layout events are still
emitted.

As a workaround SuspendLayout() can be called before Dispose()

Reproducible: Always

Steps to Reproduce:
1. Compile and run test case.

Actual Results:  
Layout
About to dispose ListView
Layout
Layout

Expected Results:  
About to dispose ListView

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