Better offline mode in scopes
Bug #1421695 reported by
costales
on 2015-02-13
This bug affects 4 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | unity-scopes-api (Ubuntu) |
Medium
|
Michi Henning | ||
| | unity8 (Ubuntu) |
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: Needs Fixing on 2015-02-12
- Michi Henning (community): Disapprove on 2015-02-10
- PS Jenkins bot: Approve (continuous-integration) on 2015-02-05
-
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)
Michał Sawicz (saviq)
on 2015-02-13
| affects: | unity8 (Ubuntu) → unity-scopes-api (Ubuntu) |
| Changed in unity-scopes-api (Ubuntu): | |
| status: | New → In Progress |
| assignee: | nobody → Michi Henning (michihenning) |
| Michał Sawicz (saviq) wrote : | #1 |
Michi Henning (michihenning)
on 2015-02-15
| Changed in unity-scopes-api (Ubuntu): | |
| status: | In Progress → Fix Committed |
Michi Henning (michihenning)
on 2015-03-02
| Changed in unity-scopes-api (Ubuntu): | |
| importance: | Undecided → Medium |
| Launchpad Janitor (janitor) wrote : | #2 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in unity8 (Ubuntu): | |
| status: | New → Confirmed |
Michi Henning (michihenning)
on 2015-04-16
| 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.