[Mono-bugs] [Bug 413898] New: Form: extra closing events from Show
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Aug 1 07:50:23 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=413898
Summary: Form: extra closing events from Show
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: andyhume32 at yahoo.co.uk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
This time the close events for Form.Show. (The opening events are OK).
Repro app from bug 413141. Hit Show(this) three times, manually closing the
sub-form each time.
Expect the following closing events:
SubForm.Closing SubForm.FormClosing SubForm.Closed SubForm.FormClosed
SubForm.Deactivate
However in current Mono see the following!
SubForm.Closing SubForm.FormClosing SubForm.Closed SubForm.FormClosed
SubForm.Deactivate SubForm.Activated SubForm.Activated SubForm.Deactivate
SubForm.Activated SubForm.Activated SubForm.Deactivate
That is, extra trailing events:
SubForm.Activated SubForm.Activated SubForm.Deactivate SubForm.Activated
SubForm.Activated SubForm.Deactivate
(i.e. twice {SubForm.Activated SubForm.Activated SubForm.Deactivate})
For reference, the expected opening events are the normal:
SubForm.Load SubForm.Activated SubForm.Activated SubForm.Shown
Can't we get unit-tests to test all the events from Form opening/closing, 'tis
a pain to verify these.
--
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