[Mono-bugs] [Bug 474889] New: PrintPreviewDialog toolbar overlaps the PrintPreviewControl control

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 11 13:40:22 EST 2009


           Summary: PrintPreviewDialog toolbar overlaps the
                    PrintPreviewControl control
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Linux
            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 2.4

The PrintPreviewDialog is a dialog box form that contains a toolbar above a
PrintPreviewControl.  The problem is that, with Mono, the PrintPreviewControl
is overlapped by the toolbar.  Therefore, the entire PrintPreviewControl (and
the print preview page it contains) is not visible.

Steps to reproduce the problem:

1.  Run the attached test case IronPython script.  Make sure you have a printer
and all of the CUPs packages installed so you don't get the a message about
your printer not being installed.
2.  Click on the "PrintPreviewDialog" button.
3.  Notice that the PrintPreviewControl is showing a blank white page
4.  Click and drag the bottom right corner of the PrintPReviewDialog window,
expanding the window until you see the black text on the white page.

Actual Results:

You should be able to see that the black text is overlapped by the toolbar.  It
was completely hidden until repro step 4.

Expected Results:

The entire page should be visible, that is, the PrintPreviewControl should butt
against the toolbar but should not be overlapped by it.

How often does this happen? 

Every time.


Another good way to verify this issue is to install the Mono accessibility
packages and use Accerciser to show the extents/geometry of the control (simply
by selecting the control in Accerciser's left pane).  This can be compared to
Windows behavior by doing the same thing in UISpy.  This method is probably a
bit more complicated, but could be done in case of any doubt.

The expected results have been verified in Windows Vista.

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