Merge lp://staging/~brandontschaefer/unity/lp.966030-fix into lp://staging/unity
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Marco Trevisan (Treviño) | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 3380 | ||||
Proposed branch: | lp://staging/~brandontschaefer/unity/lp.966030-fix | ||||
Merge into: | lp://staging/unity | ||||
Diff against target: |
143 lines (+50/-3) 3 files modified
plugins/unityshell/src/unityshell.cpp (+24/-3) unity-shared/PluginAdapter.cpp (+24/-0) unity-shared/PluginAdapter.h (+2/-0) |
||||
To merge this branch: | bzr merge lp://staging/~brandontschaefer/unity/lp.966030-fix | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Trevisan (Treviño) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+170180@code.staging.launchpad.net |
Commit message
Show desktop now only works for individual workspaces. Also if any new windows are opened, or one is restored on that workspace then the next Show desktop will minimize those. The only time windows are restored are when no new windows have been mapped, and no windows have been restored for that workspace only.
Description of the change
Changes to the show desktop icon:
- Only minimizes windows on current workspace.
- Will only restore windows if and only if:
-- No new windows have been mapped (opened).
-- No new windows have been unminimized.
-- The user has not moved workspaces.
- When we are restoring windows from Show desktop, all of them are unminimzed on all workspaces.
Testing this might be hard, but im looking into it :).
Video does not show the new restore fix, but still good to show what it does now.
Video: http://
So overall things to manually test:
- Only windows in current workspace get minimized.
- Windows on the same workspace only get restored IFF, no new windows have been opened,
no windows have been restore from that workspace.
- All windows must be restored if returning to a workspace that is empty.
- If any new window, or a window is restore, then the next time a ShowDesktop is activated for that workspace all the windows are minimized (for that workspace only).
PASSED: Continuous integration, rev:3380 jenkins. qa.ubuntu. com/job/ unity-ci/ 146/ jenkins. qa.ubuntu. com/job/ unity-saucy- amd64-ci/ 34 jenkins. qa.ubuntu. com/job/ unity-saucy- armhf-ci/ 34 jenkins. qa.ubuntu. com/job/ unity-saucy- i386-ci/ 34
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ unity-ci/ 146/rebuild
http://