[Mono-bugs] [Bug 509299] New: Zoom menu stays open when Alt+F4 is pressed to close the PrintPreviewDialog

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 2 18:04:19 EDT 2009


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


           Summary: Zoom menu stays open when Alt+F4 is pressed to close
                    the PrintPreviewDialog
    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 the zoom drop-down button is clicked, a menu appears with several zoom
options.  The problem is that if Alt+F4 is used to close the PrintPreviewDialog
(and even the main application window), the zoom menu stays open and the
application does not exit.

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
swf-printing.cs
example.  (I edited the Makefile to compile with gmcs.)
2. Run the swf-printing.cs sample application, this will open a window that
contains a single "File" menu
3. Select "Print Preview" from the "File" menu.  This will open a
PrintPreviewDialog.
4. Click the drop-down button of the zoom split button
5. Press Alt+F4 (you can press it twice if you want to close the main
application window too).

Actual Results:

The PrintPreviewDialog window closes, but the zoom menu stays open

Expected Results:

The zoom menu should close with the PrintPreviewDialog

How often does this happen? 

Every time.

Comments:

This is bad for the accessibility and accessibility tests.

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