App won't open from click scope if it got updated in meantime
Bug #1594874 reported by
Michael Terry
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Medium
|
Alejandro J. Cura | ||
unity-scope-click (Ubuntu) |
Fix Released
|
Medium
|
dobey |
Bug Description
0) Have an app installed that has an available update from the store
1) Open that app's preview in the click scope
2) Update the app in System Settings
3) Click "Open" in the click scope's app preview
4) Note that the app tries to open, but never does
Presumably, this is because the click scope is providing a full appid including a version. Either the app preview needs to refresh when an update is installed or it needs to provide an appid without a version.
Related branches
lp:~dobey/unity-scope-click/short-appid
- unity-api-1-bot: Approve (continuous-integration)
- Charles Kerr (community): Approve
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 317 lines (+135/-76)5 files modifiedlibclickscope/click/interface.cpp (+1/-0)
libclickscope/click/preview.cpp (+56/-70)
libclickscope/click/preview.h (+2/-3)
libclickscope/tests/test_interface.cpp (+28/-0)
libclickscope/tests/test_preview.cpp (+48/-3)
Changed in unity-scope-click (Ubuntu): | |
assignee: | nobody → Rodney Dawes (dobey) |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
assignee: | nobody → Alejandro J. Cura (alecu) |
milestone: | none → 13 |
Changed in unity-scope-click (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is because dash previews are static, and you have one open which contains old data. There is no way to refresh a preview. When updates are installed via system-settings, a refresh request is emitted for the apps scope, but the shell only performs this refresh when you return to the results view. It does not refresh previews.