linuxmint/Cinnamon — pull request #962 by autarkper (2012-07-24 10:35:27+00:00)
Title: Expo refactoring and improvements

This gets rid of a lot of code in Expo that seems to be the result of copy/pasting from Overview (Scale). It also offers some improvements and bug fixes:

* This makes the window order in Expo overview stable with regard to drag and drop.
How to reproduce:
1) Set up a number of easily distinguishable windows on a workspace.
2) In Expo, drag these windows back and forth between two workspaces.
Expected behavior: A dropped window should slot into a position that corresponds to the window ordering on the target workspace.
Actual behavior: A dropped window slots into a position that does not correspond to the window ordering. The position is likely to change on the next opening.

* This deals with a problem that occurs after a drop.
How to reproduce:
1) Drop a window on a workspace.
2) Move the mouse pointer out from the target workspace.
Expected behavior: The workspace should shift out of Overview mode.
Actual behavior: It takes some moving in and out with the mouse pointer to make the workspace leave Overview mode.

* It solves issue #950.

* It solves a problem after removing a workspace:
How to reproduce:
1) Make sure you have two workspaces.
2) In Expo, remove the first workspace.
Expected behavior: Nothing untoward should happen.
Actual behavior: The remaining workspace has the Desktop as one of its windows. On exiting Expo, the animation may bring the Desktop briefly to the foreground, which may have an unsettling effect.