Merge lp:~brandontschaefer/unity/opening-dash-in-scale-mode-fix into lp:unity
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Marco Trevisan (Treviño) on 2012-06-26 | ||||
Approved revision: | 2445 | ||||
Merged at revision: | 2443 | ||||
Proposed branch: | lp:~brandontschaefer/unity/opening-dash-in-scale-mode-fix | ||||
Merge into: | lp:unity | ||||
Diff against target: |
135 lines (+55/-2) 4 files modified
dash/DashController.cpp (+4/-1) plugins/unityshell/src/unityshell.cpp (+24/-0) plugins/unityshell/src/unityshell.h (+2/-0) tests/autopilot/unity/tests/test_dash.py (+25/-1) |
||||
To merge this branch: | bzr merge lp:~brandontschaefer/unity/opening-dash-in-scale-mode-fix | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Trevisan (Treviño) | 2012-06-26 | Approve on 2012-06-26 | |
Review via email:
|
Commit message
The dash will now open when invoked while in spread/scale mode.
Description of the change
=== Problem ===
When is spread/scale mode you could not activate the dash.
=== Fix ===
Well this was a bit of a hack, as the scale plugin consumes all input, expect for the hacks already in place in unity. So to open the home dash I had to assume while in scale mode that the state CompTermTapped was true to tests for a super key tapping...if that was true then assume was_tap is true so the dash will open. (Otherwise it wont)
=== Tests ===
There are ap test for opening the Home lens/ Command lens/ Other lenses (app,file,music all open the same way)
Sebastien Bacher (seb128) wrote : | # |
The steps described there work, it doesn't work perfectly with the launcher spread though:
- left click on the nautilus launcher icon
- middle click on the same icon to open a second instance
- left click to trigger the spread view of nautilus instances
- hit the super key
-> nothing happens
- hit super again
-> the spread closes and the dash open
Ideally you would need to only press super once in those cases (it's not a regression and probably not worth blocking the SRU but would be nice to fix for the next round)
Works well, tests pass... So, approved! ;)