Merge lp://qastaging/~mhr3/unity/fix-979799 into lp://qastaging/unity

Proposed by Michal Hruby
Status: Merged
Approved by: Gord Allott
Approved revision: no longer in the source branch.
Merged at revision: 2278
Proposed branch: lp://qastaging/~mhr3/unity/fix-979799
Merge into: lp://qastaging/unity
Diff against target: 21 lines (+11/-0)
1 file modified
plugins/unityshell/src/DashView.cpp (+11/-0)
To merge this branch: bzr merge lp://qastaging/~mhr3/unity/fix-979799
Reviewer Review Type Date Requested Status
Gord Allott (community) Approve
Review via email: mp+101723@code.qastaging.launchpad.net

Commit message

Make sure the lenses search for things we want on startup

Description of the change

There is a possible race, where if a system is starting up slowly, you can type in the dash before the connection to lenses is established, and that means that once the lenses do startup, they are showing results for an empty search string, even though the search string in the dash is not empty.

Connect to the "connected" signal of lenses (which is emitted after they're fully initialized) and search at that point if necessary.

No tests as this a very hard to reproduce race. (yet easy on some systems)

UNBLOCK

To post a comment you must log in.
Revision history for this message
Gord Allott (gordallott) wrote :

+1 i had to do something similar for hud

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.