0207f1f29b
We currently show the workspace in the overview in a rectangle with the same aspect ratio as the screen. Originally this was probably done since it showed the desktop, but we don't do this anymore, and the positioning of the windows in the overview is strictly a grid, so its not in any way related to monitor geometry. Additionally, in the multihead case the screen aspect ratio is very different from the overview monitor geometry, so a lot of space is lost. So, instead we just fill the entire inner rectangle of the overview with the workspace. However, the way the zoom into and out of the workspace right now is by scaling the workspace so that it covers the entire monitor. This cannot really work anymore when the workspace is a different aspect ratio. Furthermore the coordinates of the window clone actors are of two very different types in the "original window" case and the "window in a slot case". One is screen relative, the other is workspace relative. This makes it very hard to compute the cost of window motion distance in computeWindowMotion. In order to handle this we change the way workspace actor positioning and scaling work. All workspace window clone actors are stored in true screen coordingates, both the original window positions and the in-a-slot ones. Global scaling of the workspace is never done, we just reposition everything in both the initial zoom and when the controls appear from the side. There is one issue in the initial and final animations, which is that the clip region we normally have for the workspacesView will limit the animation of the clones to/from the original positions, so we disable the clip region during these animations. https://bugzilla.gnome.org/show_bug.cgi?id=643786 |
||
---|---|---|
.. | ||
status | ||
altTab.js | ||
appDisplay.js | ||
appFavorites.js | ||
boxpointer.js | ||
calendar.js | ||
chrome.js | ||
ctrlAltTab.js | ||
dash.js | ||
dateMenu.js | ||
dnd.js | ||
docDisplay.js | ||
endSessionDialog.js | ||
environment.js | ||
extensionSystem.js | ||
iconGrid.js | ||
lightbox.js | ||
link.js | ||
lookingGlass.js | ||
magnifier.js | ||
magnifierDBus.js | ||
main.js | ||
messageTray.js | ||
modalDialog.js | ||
notificationDaemon.js | ||
overview.js | ||
panel.js | ||
panelMenu.js | ||
placeDisplay.js | ||
polkitAuthenticationAgent.js | ||
popupMenu.js | ||
runDialog.js | ||
scripting.js | ||
search.js | ||
searchDisplay.js | ||
shellDBus.js | ||
statusIconDispatcher.js | ||
statusMenu.js | ||
telepathyClient.js | ||
tweener.js | ||
viewSelector.js | ||
windowAttentionHandler.js | ||
windowManager.js | ||
workspace.js | ||
workspacesView.js | ||
workspaceSwitcherPopup.js | ||
workspaceThumbnail.js | ||
xdndHandler.js |