mate-desktop / marco

MATE default window manager
https://mate-desktop.org
GNU General Public License v2.0
199 stars 87 forks source link

Reloading WM resize quarter-tiled windows horizontal to max. monitor size #710

Open raveit65 opened 2 years ago

raveit65 commented 2 years ago

Expected behaviour

Quarter-tiled windows should have the same dimension as before reloading the WM

Actual behaviour

Reloading WM resize quarter-tiled windows horizontal to max. monitor size

Steps to reproduce the behaviour

  1. Move a window in quarter-tiling mode and reload the window-manger with marco --replace or fusion-icon.
  2. window is horizontal maximized.

MATE general version

1.26

Package version

marco-1.26.0

Linux Distribution

Fedora 34/35/rawhide

Link to bugreport of your Distribution (requirement)

I don't file out a report against myself :)

Note, This weird behaviour is a side effect of https://github.com/mate-desktop/marco/commit/4ccf24665bfb3501e727f133a5f7c59ade2154d2 Reverting the commit fix it but we introduce another issue again.

When corner-tiling a maximized window, we should keep track of the saved
rectangle so that tiling does not reset our window size. Otherwise,
untiling the previously maximized window will end up with an unmaximized
full-size window, rather than the original window size.