Better offline mode in scopes
Bug #1421695 reported by
costales
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-api (Ubuntu) |
Fix Released
|
Medium
|
Michi Henning | ||
unity8 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi!
An offline scope is empty. It'd be to have a reload button or the last online information.
Please, see this video where I reproduce the issue:
https:/
Thanks in advance!
Related branches
lp:~michihenning/unity-scopes-api/cache-results
- Paweł Stołowski (community): Needs Fixing
- Michi Henning (community): Disapprove
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 1650 lines (+1136/-36)36 files modifiedRELEASE_NOTES.md (+9/-0)
debian/changelog (+14/-0)
debian/libunity-scopes3.symbols (+2/-0)
doc/tutorial.dox (+13/-0)
include/unity/scopes/CategorisedResult.h (+2/-0)
include/unity/scopes/Category.h (+2/-0)
include/unity/scopes/SearchReply.h (+21/-0)
include/unity/scopes/internal/' (+59/-0)
include/unity/scopes/internal/CategoryRegistry.h (+8/-1)
include/unity/scopes/internal/RegistryImpl.h (+0/-2)
include/unity/scopes/internal/RuntimeImpl.h (+3/-1)
include/unity/scopes/internal/SearchReplyImpl.h (+14/-0)
include/unity/scopes/testing/MockSearchReply.h (+1/-0)
include/unity/scopes/utility/internal/BufferedSearchReplyImpl.h (+6/-3)
src/scopes/internal/CategoryRegistry.cpp (+19/-6)
src/scopes/internal/QueryObject.cpp (+1/-0)
src/scopes/internal/RuntimeImpl.cpp (+10/-0)
src/scopes/internal/SearchReplyImpl.cpp (+259/-14)
src/scopes/internal/smartscopes/SSQueryObject.cpp (+1/-0)
src/scopes/testing/InProcessBenchmark.cpp (+4/-0)
src/scopes/utility/internal/BufferedSearchReplyImpl.cpp (+5/-0)
test/gtest/scopes/CMakeLists.txt (+1/-0)
test/gtest/scopes/ResultCache/CMakeLists.txt (+27/-0)
test/gtest/scopes/ResultCache/CacheScope.cpp (+160/-0)
test/gtest/scopes/ResultCache/CacheScope.h (+41/-0)
test/gtest/scopes/ResultCache/CacheScope.ini.in (+4/-0)
test/gtest/scopes/ResultCache/ResultCache_test.cpp (+414/-0)
test/gtest/scopes/ResultCache/Runtime.ini.in (+8/-0)
test/gtest/scopes/ResultCache/TestRegistry.ini.in (+7/-0)
test/gtest/scopes/ResultCache/Zmq.ini.in (+2/-0)
test/gtest/scopes/ResultCache/no_cat_cache (+1/-0)
test/gtest/scopes/ResultCache/no_dept_cache (+1/-0)
test/gtest/scopes/ResultCache/no_filter_state_cache (+1/-0)
test/gtest/scopes/ResultCache/no_filters_cache (+1/-0)
test/gtest/scopes/ResultCache/no_results_cache (+1/-0)
test/gtest/scopes/internal/RuntimeConfig/RuntimeConfig_test.cpp (+14/-9)
affects: | unity8 (Ubuntu) → unity-scopes-api (Ubuntu) |
Changed in unity-scopes-api (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Michi Henning (michihenning) |
Changed in unity-scopes-api (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity-scopes-api (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity-scopes-api (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The unity-scopes-api adds facilities for scopes to implement that behaviour. Scopes themselves will need adapting to actually use the API mentioned above.
The dash UI should also show notice that there's limited connectivity and that results might not be up to date.