Merge lp:~dx-unity/unity/unity.fix_702431 into lp:unity
Status: | Rejected |
---|---|
Rejected by: | David Barth on 2011-04-07 |
Proposed branch: | lp:~dx-unity/unity/unity.fix_702431 |
Merge into: | lp:unity |
Diff against target: |
258 lines (+90/-13) 6 files modified
src/Launcher.cpp (+4/-5) src/LauncherIcon.cpp (+51/-2) src/PluginAdapter.cpp (+14/-0) src/PluginAdapter.h (+5/-0) src/unityshell.cpp (+15/-5) src/unityshell.h (+1/-1) |
To merge this branch: | bzr merge lp:~dx-unity/unity/unity.fix_702431 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Barth (community) | Disapprove on 2011-04-06 | ||
Alejandro Piñeiro (community) | Approve on 2011-04-05 | ||
Didier Roche | Needs Fixing on 2011-04-01 | ||
Jason Smith (community) | 2011-03-31 | Approve on 2011-03-31 | |
Rodrigo Moya | 2011-03-31 | Pending | |
Review via email:
|
Description of the change
Don't rely on the compiz grab to trigger keybindings but instead grab the keys ourselves.
The compiz grab behaviour is going to change such that the grab is automatically disabled again once the key has been handled, rather than once the key is released since this means that if we have a grab on <super> then gnome-do won't be able to use <super>space
- 1047. By Sam Spilsbury on 2011-03-31
-
Don't mix display connections
Didier Roche (didrocks) wrote : | # |
as discussed on IRC, !shortcuts_shown doesn't mean shortcuts are not active, so no need to difference the grab/ungrab case there ;)
- 1048. By Sam Spilsbury on 2011-04-02
-
Move key grabbing into LauncherIcon:
:SetShortcut since we want to be
able to trigger shortcuts even when the launcher is hidden
Alejandro Piñeiro (apinheiro) wrote : | # |
Adding myself on the review list. Jason Smith asked for a a11y review, and I implemented most of the a11y support on the launcher.
Alejandro Piñeiro (apinheiro) wrote : | # |
Review done:
* On my first test of this branch, the only difference with the current branch behaviour is that the Launcher doesn't announce always that the Launcher received the focus (so again bug 727133), just that the launcher icon receive the focus (that it mostly ok most of the cases)
* Probably this change made a change on the event order.
* Anyway, I realized that this branch is "old" compared with the current trunk (rev1047 vs rev1074)
* After doing a merge with the trunk this seems to work fine.
*But*, it seems that right now the trunk includes this branch:
https:/
that Jay merged in my behalf but David told me to not merge (because it was a really big change, and the deadline was there).
So, as this needs some clarification about what a11y code is or not is here, I will set this as "Needs Information"
Alejandro Piñeiro (apinheiro) wrote : | # |
I have just tested old revisions of unity (revno 1029 and revno 1050) and the "Launcher is not announced" regression is also there. Although it is also true that I'm using the last compiz (as was required for this proposal), and the last nux, what it is true is that this specific change doesn't seems to be the one causing the regression (as the one causing it seems to be already merged).
So, as the code seems ok, and the regression is not caused directly by this change, I think that it would be ok to approve it.
Didier Roche (didrocks) wrote : | # |
75 + || !(g_ascii_isdigit ((gchar) old_shortcut)))
should be:
75 + || !(g_ascii_isdigit ((gchar) shortcut)))
David Barth (dbarth) wrote : | # |
Update on the change: the grab change stays out. It's too late and the benefits of the change are too limited to risk destabilizing the rest of the stack.
I've reverted the compiz change already. The unity change should not be merged, but kept aside for later (an SRU, something else, we'll see).
Unmerged revisions
- 1048. By Sam Spilsbury on 2011-04-02
-
Move key grabbing into LauncherIcon:
:SetShortcut since we want to be
able to trigger shortcuts even when the launcher is hidden - 1047. By Sam Spilsbury on 2011-03-31
-
Don't mix display connections
- 1046. By Sam Spilsbury on 2011-03-31
-
Fix typos
- 1045. By Sam Spilsbury on 2011-03-31
-
Don't rely on the implcit screengrab made by compiz to execute keybindings
while super is pressed, instead directly grab and ungrab those keys
Looks good from a technical standpoint, requesting a review for a11y changes.