Playing a little with the visual effects settings, I've founde that this only happens when visual effects are enabled. With visual effects enabled, unchecking "General Options -> Display Settings -> Detect Outputs" in "Advanced Desktop Effects Settings" solves the problem.
This two bugs refer to the same problem: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/130933 https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/137818 -- Maximized windows don't fill the whole screen https://bugs.launchpad.net/bugs/147363 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs