Merge lp://qastaging/~unity-team/unity/3v1n0-quick-alt+tab-fixes into lp://qastaging/unity
Status: | Superseded |
---|---|
Proposed branch: | lp://qastaging/~unity-team/unity/3v1n0-quick-alt+tab-fixes |
Merge into: | lp://qastaging/unity |
Diff against target: |
697 lines (+275/-89) 12 files modified
manual-tests/Switcher.txt (+1/-1) plugins/unityshell/src/BamfLauncherIcon.cpp (+45/-30) plugins/unityshell/src/Launcher.cpp (+3/-1) plugins/unityshell/src/PluginAdapter.cpp (+80/-44) plugins/unityshell/src/PluginAdapter.h (+4/-1) plugins/unityshell/src/UScreen.cpp (+9/-3) plugins/unityshell/src/UScreen.h (+1/-0) plugins/unityshell/src/WindowManager.cpp (+11/-1) plugins/unityshell/src/WindowManager.h (+5/-2) plugins/unityshell/src/unityshell.cpp (+8/-5) tests/autopilot/autopilot/tests/test_launcher.py (+63/-0) tests/autopilot/autopilot/tests/test_switcher.py (+45/-1) |
To merge this branch: | bzr merge lp://qastaging/~unity-team/unity/3v1n0-quick-alt+tab-fixes |
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alex Launi (community) | quality | Needs Fixing | |
Tim Penhey (community) | Needs Fixing | ||
Sam Spilsbury (community) | Approve | ||
Review via email:
|
This proposal has been superseded by a proposal from 2012-04-15.
Commit message
Fixes quick alt+tab and also fixes clicking on a launcher icon to raise the last focused application.
Description of the change
Grabbed 3v1n0's quick alt+tab fix branch:
https:/
== Problem ==
Quick alt+tab and clicking on a launcher icon raises all of the applications of that type.
== Fix ==
The fix was to add 'OnlyVisibleOnTop' to the enum WindowManager:
To use Quick alt+tab you have to press alt+tab before a timer goes off. Right now it is set to 200ms, but is very easy to change.
Screencast of the fixed version: http://
== Test ==
There are autopilot test for both bugs.
30 - if ((mapped && wm->IsWindowMap ped(xid) ) || !mapped) ped(xid) && !bamf_window_ get_transient( BAMF_WINDOW( view))) || !mapped)
31 + if ((mapped && wm->IsWindowMap
32 {
About this, I think I included that change mostly for testing purposes, I'm not sure it's actually wanted so move it out.
I didn't work too much on my branch lately since I didn't know if that was still the wanted desig, but if now it is, I'll be happy to get this merged :)