Comment 0 for bug 934680

Revision history for this message
Marco Trevisan (TreviƱo) (3v1n0) wrote : Dragging down a maximized window from the panel has not predictable results

Dragging a window down from the top panel has a lot of issues, first of all:

 - The window should be restored as soon as the mouse pointer drags content outside the panel area
 - Once a window is restored it should not be placed outside the desktop area,
   unless it fits into it, also it should be never below the launcher (when always visible).
   In the case that the window is bigger than the available space, the top and left
   borders should be always visible anyway.
 - The just restored window, should be grabbed on a point of the top decoration
   that is proportional to the x-offset grabbed on the panel, so if you start
   dragging at the left of the panel, the window should be handled by the top-left
   corner, if you start dragging on the right of the panel, the window shuold be
   proportionally handled on the right.

This last point should probabily be applied only when LIMs are enabled, just
preferring the decoration middle point otherwise.