demo app too slow to load 1000+ contacts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
address-book-app |
Fix Released
|
Critical
|
Renato Araujo Oliveira Filho | ||
address-book-service (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
build saucy-19
qtpim from ppa:canonical-
contacts-demo-app from trunk
I have imported 1199 contacts into my address book. Once the address-
The app should be changed to do the following:
1) It should do an initial query to get the total number of contacts and display that number in the Contact List (xxx) label
2) It should query for the favorites and for the first page of results only and immediately display that on the screen (per design)
3) The queries should only return the full name and avatar as that is the minimal information needed on the contact list screen.
These 3 steps should take < 1 second - should be instant.
4) then possibly in the background fetch the next few pages of data, but not all the pages. They should only be fetched on demand
This will make the app consume much less memory and load quicker. Most access to contacts will be done by searching rather than scrolling to find a contact. The goal is to get the initial page on screenscreen asap and have the app consume minimal memory.
Related branches
- Bill Filler (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 11 lines (+1/-1)1 file modifiedqcontacts/request-data.cpp (+1/-1)
Changed in address-book-app: | |
importance: | Undecided → Critical |
assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
Changed in address-book-app: | |
milestone: | none → ubuntu-13.07 |
status: | New → Fix Committed |
Changed in address-book-app: | |
status: | Fix Committed → Fix Released |
waiting for new qtpin to land on saucy.