On a dual monitor setup (Monitor 1: 1920x1200, Monitor 2: 1280x1024) a window will maximize correctly via grid on the small monitor if it's x-size is lower than 2459 pixel, but larger than the bigger monitor's x-resolution (1920).
-> see also bug 751605 and the proposed solution https://code.launchpad.net/~vanvugt/compiz/fix-751605/+merge/134404 for it to understand why the windows x-size needs to be larger than Monitor1's x-resolution.
Once the window is resized to 2460 pixel and maximized on the smaller resolution monitor (2) via grid on viewport 1 it will jump to monitor 2 on viewport 2.
Resizing the window to x>2461 pixel and repeating the maximizing via grid on viewport 1 it will jump to Monitor 1 (the large-resolution one) on viewport 2.
This is 100% reproducable every time.
Solution:
We should never move windows across viewports when we maximize a window. Any objections ?
On a dual monitor setup (Monitor 1: 1920x1200, Monitor 2: 1280x1024) a window will maximize correctly via grid on the small monitor if it's x-size is lower than 2459 pixel, but larger than the bigger monitor's x-resolution (1920). /code.launchpad .net/~vanvugt/ compiz/ fix-751605/ +merge/ 134404 for it to understand why the windows x-size needs to be larger than Monitor1's x-resolution.
-> see also bug 751605 and the proposed solution https:/
Once the window is resized to 2460 pixel and maximized on the smaller resolution monitor (2) via grid on viewport 1 it will jump to monitor 2 on viewport 2.
Resizing the window to x>2461 pixel and repeating the maximizing via grid on viewport 1 it will jump to Monitor 1 (the large-resolution one) on viewport 2.
This is 100% reproducable every time.
Solution:
We should never move windows across viewports when we maximize a window. Any objections ?