Merge lp:~sao/unity/show_launcher_in_navmode into lp:unity
Proposed by
Oliver Sauder
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 900 | ||||
Proposed branch: | lp:~sao/unity/show_launcher_in_navmode | ||||
Merge into: | lp:unity | ||||
Diff against target: |
72 lines (+18/-6) 3 files modified
src/Launcher.cpp (+16/-4) src/Launcher.h (+1/-0) src/unityshell.cpp (+1/-2) |
||||
To merge this branch: | bzr merge lp:~sao/unity/show_launcher_in_navmode | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Didier Roche-Tolomelli | Approve | ||
Review via email: mp+49894@code.launchpad.net |
To post a comment you must log in.
Thanks for your patch proposal :)
So, after reading and testing your branch, there is some side effects, like, press super -> on release one launcher is focused for keynav mode where is shouldn't.
I think as well that MoveFocusToNavMode shouldn't be exposed by launcher.h the API.
Also, I fear some race where the drawing is slow and so, you release the alt + F1 combo before it's also moved on the screen (and so the focus fails).
A more correct approach is to set the focus once the launcher is fully shown, only in _navmod_ show_launcher. I can prepare a branch for that (I need another branch to land before) that triggers a signal when the launcher is fully shown (and fully hidden as well).
You can ping me on IRC if you need guidance (my nickname is didrocks). I'll post a follow up on this merge proposal once all the infrastructure will be landed.
By the way, before you finish this and we merge, we need you to sign the Canonical contributer agreement. It's a quick, but necessary step to getting your code into the tree. Luckily you only need to sign it once and it will apply to all other Canonical project contributions you may make in the future. http:// www.canonical. com/contributor s Make sure to CC David Barth when you send it in.