[Mono-bugs] [Bug 614850] New: Modal dialogs should prevent closing their parent windows.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jun 16 14:44:10 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=614850
http://bugzilla.novell.com/show_bug.cgi?id=614850#c0
Summary: Modal dialogs should prevent closing their parent
windows.
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
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: ---
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
If you open a Modal dialog It should prevent closing other windows in the
running application.
This isn't happening on mono/Linux.
a work around it to:
handle the Form.Closing event and set CancelEventArgs.Cancel to true, when a
dialog is shown.
However this would need to be done for all Forms.
Reproducible: Always
Steps to Reproduce:
1. Compile and Run Test case
Form and a OpenFileDialog should appear
2. Attempt to close form.
Actual Results:
Form closes
Expected Results:
Form should not close
kind of related to this bug report
https://bugzilla.novell.com/show_bug.cgi?id=575635
--
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