Ubuntu – (Dual Monitor and 12.04) Snapping window to full screen puts the window on other monitor

12.04compizmultiple-monitors

Background

(This problem does not occur in Unity 2D)

When moving a window around, and putting the cursor to the top of a screen, the orange box expands across the screen and you let go and the window goes full screen…. At least, it's supposed to.

When I'm NOT in Unity2D (i.e. Unity 3D or simply "Unity" as it shows when I log in), I can put the window full screen on my Right-Side monitor, but if I push the window to the top of the left monitor and let go, it snaps to Full-Screen on the RIGHT monitor !!!!!

It's really frustrating, because of course the whole purpose of having two monitors is to be able to view different things at the same time.

Question

Does anyone know what is causing this?

I feel like maybe it's accepting the right side monitor as the "Primary" or something like that. It only occurs sometimes, not constantly. It only started doing it since the update to 12.04. Also, Compiz process is running and taking a LOT of my processor, even if the computer is doing nothing. My CPU used to idle at around 30-31C, but now just sitting there, it's around 39-41C….12.04 is sucking big time right now in my opinion (not worth much).

Thanks for the input!

Best Answer

Solution

I figured it out. Like Pauk said, it has to do with different resolutions.

It only occurs when trying to move a full-size window from large monitor to small monitor.

To solve the problem:

Resize the window in the large monitor so it is smaller than what would be full-screen on the smaller monitor (i.e. the window will fit in the smaller monitor without touching any edges).

Next, drag it to the top of the smaller monitor and release to make it full screen (or drag it to the smaller monitor and "maximize" it).

Like Miceterminator said, you can also drag to the side.....just do something to the window is SMALLER than full-screen of the smaller monitor.

Discussion

So the problem is we are trying to fit a large window (1920x1080 for me) onto a smaller (1600x900 for me) "canvas" so to speak. That explains why it pops back over to the larger monitor. Simply making it small enough to fit on your "smaller canvas," then maximizing it to fill completely, seems to be the solution.

I'm glad we got THAT figured out!

Related Question