Merge lp:~mhr3/unity/fix-856205 into lp:unity
Proposed by
Michal Hruby
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1746 |
Proposed branch: | lp:~mhr3/unity/fix-856205 |
Merge into: | lp:unity |
Diff against target: |
124 lines (+58/-1) 3 files modified
manual-tests/Dash.txt (+13/-0) plugins/unityshell/src/DashView.cpp (+39/-1) plugins/unityshell/src/DashView.h (+6/-0) |
To merge this branch: | bzr merge lp:~mhr3/unity/fix-856205 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Mikkel Kamstrup Erlandsen (community) | Approve | ||
Review via email: mp+83263@code.launchpad.net |
This proposal supersedes a proposal from 2011-11-16.
Description of the change
Fixes bug #856205 by delaying activation of the first item in the model. Note that this requires also change to lenses (because currently they emit the SearchFinished signal before updating the model).
As didrocks informed me, this can't just go to stable branch without going to trunk, although I have much nicer fix in mind once we change some libunity internals.
To post a comment you must log in.
I tested this quite thoroughly and it seems to work well. Code looks good too. Although there are some nitpicks:
i) in ResetSearchState() Why reinterpret_cast and not static_cast?
ii) in ResetSearchState() should we not g_source_remove (searching_ timeout_ id_); if the id != 0?