Merge lp:~stolowski/unity-scopes-shell/fix-1370483 into lp:unity-scopes-shell

Proposed by Paweł Stołowski
Status: Merged
Approved by: Pete Woods
Approved revision: 145
Merged at revision: 145
Proposed branch: lp:~stolowski/unity-scopes-shell/fix-1370483
Merge into: lp:unity-scopes-shell
Diff against target: 17 lines (+7/-1)
1 file modified
src/Unity/scope.cpp (+7/-1)
To merge this branch: bzr merge lp:~stolowski/unity-scopes-shell/fix-1370483
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Pete Woods (community) Approve
Review via email: mp+235006@code.launchpad.net

Commit message

Use typing timer only when scope is active, otherwise invalidate results and emit the signal for query change immediately.

Description of the change

Use typing timer only when scope is active, otherwise invalidate results and emit the signal for query change immediately. This is needed because Scopes::queryScopesOnStartup() calls dispatchSearch() immediately after setSearchQuery(), so delayed call to invalidatedResults() causes another search when scope becomes active (because results-dirty flag is set at this point).

To post a comment you must log in.
Revision history for this message
Pete Woods (pete-woods) wrote :

Nice minimal fix!

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

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.

Subscribers

People subscribed via source and target branches

to all changes: