Merge lp:~brandontschaefer/unity/lp.1109150-fix-dash-indicators into lp:unity
Proposed by
Brandon Schaefer
Status: | Merged |
---|---|
Approved by: | Andrea Azzarone |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3090 |
Proposed branch: | lp:~brandontschaefer/unity/lp.1109150-fix-dash-indicators |
Merge into: | lp:unity |
Diff against target: |
157 lines (+59/-4) 8 files modified
dash/DashController.cpp (+7/-0) dash/DashController.h (+1/-0) panel/PanelController.cpp (+14/-0) panel/PanelController.h (+2/-0) panel/PanelView.cpp (+5/-0) panel/PanelView.h (+2/-0) plugins/unityshell/src/unityshell.cpp (+16/-4) tests/autopilot/unity/tests/test_panel.py (+12/-0) |
To merge this branch: | bzr merge lp:~brandontschaefer/unity/lp.1109150-fix-dash-indicators |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Andrea Azzarone (community) | Approve | ||
MC Return (community) | Approve | ||
Review via email: mp+145531@code.launchpad.net |
Commit message
Clicking on the indicators in the dash will now open them! (And close the dash).
Description of the change
=== Problem ===
The panel is below the Dash when opened. This means mouse events do not get to the indicator. (This has to be this way due to the dash previews)
=== Fix ===
Check when a mouse event happens in unityshell.cpp and check if the mouse event is over an indicator. Another problem was the dash animation takes to long to finish before the mouse event gets to the indicators. So I had to make a new function that would simply hide the dash right away, so the mouse event would get to the indicator.
=== Test ===
AP test.
To post a comment you must log in.
LGTM. +1