Merge lp://qastaging/~stolowski/unity-scopes-shell/fix-1484299-vivid into lp://qastaging/unity-scopes-shell/trunk-15.04
Proposed by
Paweł Stołowski
Status: | Merged |
---|---|
Approved by: | Marcus Tomlinson |
Approved revision: | 255 |
Merged at revision: | 246 |
Proposed branch: | lp://qastaging/~stolowski/unity-scopes-shell/fix-1484299-vivid |
Merge into: | lp://qastaging/unity-scopes-shell/trunk-15.04 |
Diff against target: |
166 lines (+61/-2) 5 files modified
src/Unity/scope.cpp (+23/-1) src/Unity/scope.h (+2/-0) src/Unity/scopes.cpp (+4/-0) src/Unity/settingsmodel.cpp (+29/-1) src/Unity/settingsmodel.h (+3/-0) |
To merge this branch: | bzr merge lp://qastaging/~stolowski/unity-scopes-shell/fix-1484299-vivid |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Marcus Tomlinson (community) | Approve | ||
Review via email: mp+268349@code.qastaging.launchpad.net |
Commit message
Fix crash when aggregator's settings view is opened shortly after a new child scope was installed. Fix invalidating of results in temp scopes.
Description of the change
Fix crash when aggregator's settings view is opened shortly after a new child scope was installed. There is a short window (5 seconds) where child scopes list can contain a just installed scope but scopes metadata hasn't been refreshed yet and doesn't know that scope id. If that situation is detected, mark settings as needing refreshing, and re-populate settings model after we have all the new metadata from the registry.
Also fixed invalidating of results in temp scopes (lines 71-74).
To post a comment you must log in.
PASSED: Continuous integration, rev:254 jenkins. qa.ubuntu. com/job/ unity-scopes- shell-trunk- 15.04-ci/ 3/ jenkins. qa.ubuntu. com/job/ unity-scopes- shell-trunk- 15.04-vivid- amd64-ci/ 3 jenkins. qa.ubuntu. com/job/ unity-scopes- shell-trunk- 15.04-vivid- armhf-ci/ 3 jenkins. qa.ubuntu. com/job/ unity-scopes- shell-trunk- 15.04-vivid- armhf-ci/ 3/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ unity-scopes- shell-trunk- 15.04-vivid- i386-ci/ 3
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- scopes- shell-trunk- 15.04-ci/ 3/rebuild
http://