[Mono-bugs] [Bug 449008] New: MessageBox is not modal in x86_64

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 25 21:18:04 EST 2008


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


           Summary: MessageBox is not modal in x86_64
           Product: Mono: Class Libraries
           Version: 1.9
          Platform: x86-64
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: bgmerrell at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:

This was found on Mono 1.9.1

When a MessageBox is displayed by an application, that MessageBox should be a
modal window (http://msdn.microsoft.com/en-us/library/4y3c0fky.aspx).  The
problem is that on a 64-bit openSUSE OS, the MessageBox window is not fully
modal.

Steps to reproduce the problem:
1. Grab the winforms examples (if you don't have them already) from
http://www.mono-project.com/WinForms#Sample_Code and compile the MessageBox
example.  (I edited the Makefile to compile with gmcs.)
2. Run the swf-messagebox.exe sample application
3. Click the "Click me for OK MessageBox" button, this will pop up a MessageBox
with a message and an "OK" button.
4. Click on the window *title bar* of the original "SWF-MessageBox" window.  

Actual Results:

Focus returns to the original "SWF-MessageBox" window

Expected Results:

Focus should not go back to the "SWF-MessageBox" window until the "OK" button
is clicked on the MessageBox.

How often does this happen? 

Every time.

Comments:

Notice that if you click anywhere else on the window for step 4 above, focus
does not return to the "SWF-MessageBox" window.

I do not experience this problem on a 32-bit openSUSE OS with the same version
(1.9.1) of mono-winforms.


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