Merge lp:~brandontschaefer/unity/lp.1066442-fix into lp:unity
Status: | Merged |
---|---|
Approved by: | Marco Trevisan (Treviño) |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3235 |
Proposed branch: | lp:~brandontschaefer/unity/lp.1066442-fix |
Merge into: | lp:unity |
Diff against target: |
95 lines (+22/-8) 2 files modified
hud/HudView.cpp (+11/-8) tests/autopilot/unity/tests/test_hud.py (+11/-0) |
To merge this branch: | bzr merge lp:~brandontschaefer/unity/lp.1066442-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Marco Trevisan (Treviño) | Approve | ||
Review via email: mp+153924@code.launchpad.net |
This proposal supersedes a proposal from 2013-03-15.
Commit message
The HudButtons no longer receive mouse events until the mouse is being moved over the HudView. It resets when any typing happens, so the mouse can no longer steal button focus with out moving it (which in that case you want the button to focus :)
Description of the change
=== Problem ===
When items for the hud appear, and the mouse was over where it appeared at, it would steal button focus.
=== Fix ===
The buttons no longer receives mouse events until the mouse is being moved over the HudView. It resets when any typing happens, so the mouse can no longer steal button focus with out moving it (which in that case you want the button to focus :)
=== Test ===
AP Test
It works well here, thanks.