Merge lp:~brandontschaefer/unity/opening-dash-in-scale-mode-fix into lp:unity
Proposed by
Brandon Schaefer
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Marco Trevisan (Treviño) | ||||
Approved revision: | no longer in the source branch. | ||||
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) | Approve | ||
Review via email: mp+112181@code.launchpad.net |
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)
To post a comment you must log in.
Works well, tests pass... So, approved! ;)