Merge lp:~brandontschaefer/unity/keynav-alt+f1-expo-fix into lp:unity
Proposed by
Brandon Schaefer
Status: | Merged |
---|---|
Approved by: | Thomi Richards |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2430 |
Proposed branch: | lp:~brandontschaefer/unity/keynav-alt+f1-expo-fix |
Merge into: | lp:unity |
Diff against target: |
59 lines (+30/-2) 2 files modified
launcher/LauncherController.cpp (+7/-2) tests/autopilot/unity/tests/test_launcher.py (+23/-0) |
To merge this branch: | bzr merge lp:~brandontschaefer/unity/keynav-alt+f1-expo-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thomi Richards (community) | quality | Approve | |
Jason Smith (community) | Approve | ||
Review via email: mp+111262@code.launchpad.net |
Commit message
Fixes focus problem when entering expo mode from KeyNav(Alt+F1).
Description of the change
=== Problem ===
When KeyNav would terminate it would activate the launcher icon before restoring input focus. This means in Alt+F1 mode the screen was still grabbed causing the focus in expo mode to fail. This was caused by a ubus message race condition.
=== Fix ===
Added a GLib::Idle fucntion for the activation, so the ubus call has time to finish before activating the icon.
=== Test ===
AP test included
To post a comment you must log in.
Coolio :)
Like the use of the lambda