[Mono-bugs] [Bug 336296] New: Maximized MDI child window badly sized+positioned on restore

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 24 08:44:38 EDT 2007


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

           Summary: Maximized MDI child window badly sized+positioned on
                    restore
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at ximian.com
        Depends on: 336295
          Found By: ---


When a child is maximized, on restore it doesn't return to its original
position, instead it is positioned/sized very badly, such that it overflows the
window i.e. its title bar is below the parent toolbar/menubar.

This is new behaviour in SVN head, it does not occur on 1.2.5.


In more detail.  MDI window with multiple children.  Maximize one (after noting
its initial position†), un-maximize it, note that it is sized and position so
that its edges are outside the panel (its size is parent.ClientSize?).  Thus it
title bar is off screen and the parent has to be scrolled to be able to control
it.  It should restore back to its original position.  († - It's easier to
see this happen if one has done tile-vertical (etc) first).

Note that if a window is maximized, and then various of the windows are cycled
through to be the maximized one (by Ctrl+F6), and one of the other windows is
de-maximized, then it is only the first one that loses its original
size/position.  So its is the maximize operation that resets the bounds, not
the state of being maximized.

Note this only occurs when the main windows has a valid menu bar.

(I would normal regain control of the window by using ALT+MINUS to open it
control menu and then re-size it with the arrow keys, but that feature is
missing, bug 325433).


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