Comment 0 for bug 1418078

Revision history for this message
Lonnie Lee Best (launchpad-startport) wrote :

The code that gets initiated when a window is maximize is flawed in regards to which workspace it targets for maximization.

When a window becomes maximized it should always maximize to the workspace "where the mouse-cursor was at" at the time that the maximization was initiated. Yet, in Unity, the windows manager will maximize to a different workspace if a certain portion of that window is outside the bounds of the current workspace.

To easily reproduce this undesired behavior:

1) Enable Workspaces:
System Settings > Appearance > Behavior > Enable Workspaces

2) Drag the window to the bottom of the screen, so that its title-bar is still visible on the current workspace, but a fair portion overflows to the underneath-workspace.

3) Maximize the window.

Result: It will maximize the window to another workspace than the workspace you were in at the time of the maximization.

Watch the video posted in this bug:
https://bugs.launchpad.net/ubuntu/utopic/+source/remmina/+bug/1370014

Although this is a different bug, it would benefit greatly if the Window-Maximization code was based on the workspace "where the mouse-cursor was at" at the time of maximization.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity 7.2.3+14.04.20140826-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-44.73-generic 3.13.11-ckt12
Uname: Linux 3.13.0-44-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CurrentDesktop: Unity
Date: Wed Feb 4 09:18:46 2015
InstallationDate: Installed on 2014-11-23 (73 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)