Merge lp:~brandontschaefer/unity/detail-mode-last-active-window-fix-SRU into lp:unity/5.0
| Status: | Merged |
|---|---|
| Approved by: | Martin Mrazik on 2012-08-21 |
| Approved revision: | 2403 |
| Merged at revision: | 2399 |
| Proposed branch: | lp:~brandontschaefer/unity/detail-mode-last-active-window-fix-SRU |
| Merge into: | lp:unity/5.0 |
| Diff against target: |
71 lines (+23/-2) 3 files modified
plugins/unityshell/src/SwitcherModel.cpp (+4/-2) plugins/unityshell/src/SwitcherModel.h (+2/-0) tests/autopilot/autopilot/tests/test_switcher.py (+17/-0) |
| To merge this branch: | bzr merge lp:~brandontschaefer/unity/detail-mode-last-active-window-fix-SRU |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Penhey (community) | 2012-08-15 | Approve on 2012-08-17 | |
|
Review via email:
|
|||
Commit Message
The switcher in detail mode will now focus the last active window, instead of the current one. If the current focus window activated the switcher.
Description of the Change
=== Problem ===
When going into detail mode the switcher would focus its own window. This means Detail mode would no longer know if the window was currently active. So it would not swap the current window with the last active window.
This also cause detail mode to all of a sudden swap the first and second icon (very annoying)
=== Fix ===
Save the currently active icon type, so when we check if we need to swap icons we know which one it was.
=== Test ===
There is an AP test.
| Unity Merger (unity-merger) wrote : | # |
| Unity Merger (unity-merger) wrote : | # |
The Jenkins job https:/
Not merging it.


The Jenkins job https:/ /jenkins. qa.ubuntu. com/job/ automerge- unity/1057/ console reported an error when processing this lp:~brandontschaefer/unity/detail-mode-last-active-window-fix-SRU branch.
Not merging it.