Replace "Not found" screen with a spinner until the apps list has been updated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
Precise |
Won't Fix
|
High
|
Unassigned |
Bug Description
When an application is searched for (or accessed directly through the command line or an apt:// link) if the app is not in the current list of available apps then a simple "Not Found" screen is displayed.
This has one issue: 3 seconds after USC has started up, it updates the list of apps available from MyApps, at which point it could happen to receive an app that matches the given package name. If this happens, the "Not Found" screen will be replaced with the application view.
This is a bit confusing, as the "Not found" screen really sounds final. It would be better to display a spinner until the list of apps available from MyApps has finished updating, at which point the spinner can be replaced by either a "Really not found" ( :P ) screen, or the app that was just found.
See also bug 1037243.
Related branches
- Gary Lasker (community): Approve
-
Diff: 202 lines (+75/-21)4 files modifiedsoftwarecenter/db/database.py (+32/-0)
softwarecenter/ui/gtk3/app.py (+1/-18)
softwarecenter/ui/gtk3/views/appdetailsview.py (+22/-2)
test/gtk3/test_appdetailsview.py (+20/-1)
Changed in software-center (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: ca-escalate |
tags: |
added: ca-escalated removed: ca-escalate |
description: | updated |
Changed in software-center (Ubuntu): | |
assignee: | nobody → Rodney Dawes (dobey) |
Changed in software-center (Ubuntu Precise): | |
status: | In Progress → Triaged |
Changed in software-center (Ubuntu): | |
status: | In Progress → Triaged |
assignee: | Rodney Dawes (dobey) → nobody |
This is actually a bit tricky, the spinner is straightforward (mostly) but we can not add new strings to precise. The best existing string I could find was "In progress..." but that is not helpful really.