[Mono-bugs] [Bug 506729] New: FontDialog is not modal

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun May 24 02:43:57 EDT 2009


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


           Summary: FontDialog is not modal
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: openSUSE 11.1
            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: Integration Test


Description of Problem:

This was found on Mono WinForms revision 133896.

When a FontDialog is displayed by an application, that FontDialog is modal in
Windows Vista, but it is not in Mono.

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 FontDialog
example.  (I edited the Makefile to compile with gmcs.)
2. Run the swf-fontdialog.exe sample application, this will open a
"FontDialogTest" window that contains a single button labeled "FontDialog"
3. Click the "FontDialog" button, which will open the FontDialog
4. Click on the window of the original "FontDialogTest" window.  

Actual Results:

Focus returns to the original "FontDialogTest" window

Expected Results:

Focus should not go back to the "FontDialogTest" window until the "Font" dialog
is dismissed by the user.

How often does this happen? 

Every time.

Comments:

I did not find anything on MSDN that explicitly states that FontDialog is
modal, so perhaps this bug is invalid.  However, the FontDialog is modal in
Windows Vista.

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