[Mono-bugs] [Bug 675447] New: Windows.Forms regression: callbacks are called in a different order wrt .Net and older Mono versions
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Feb 27 16:52:02 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=675447
https://bugzilla.novell.com/show_bug.cgi?id=675447#c0
Summary: Windows.Forms regression: callbacks are called in a
different order wrt .Net and older Mono versions
Classification: Mono
Product: Mono: Class Libraries
Version: 2.10.x
Platform: x86-64
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: matteo.tesser at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13)
Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13 GTB7.1
In a simple windows form program a a button the callbacks linked to the click
event and the form's OnClosing event are fired in a different order with
respect to .NET and older Mono version when buttons DialogResult propery is set
to DialogResult.Cancel.
Reproducible: Always
Steps to Reproduce:
1. compile the attached sample: gmcs TestWF.cs -r:System.Windows.Forms.dll
-r:System.Drawing.dll
2. run the sample: the program invokes automatically the button and exit
immediately writing on the console the calling sequence
Actual Results:
OnClosing Called
OnOkClick Called
6
Expected Results:
OnOkClick Called
OnClosing Called
4
--
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