Freezes after typing two letters in search [$20]

Bug #1603107 reported by aggelalex on 2016-07-14
60
This bug affects 12 people
Affects Status Importance Assigned to Milestone
AppCenter
Fix Released
High
Rubén Reina

Bug Description

when searching for "converter" the app lags at the "co" and becomes unresponsive. To close the app you should use the dock, right click on the appcenter icon, click close and wait until the option to force close the program appears.

Related branches

I can confirm that this happens after any two letters. This must be when the search is actually initialized. This should be done asynchronously so that it doesn't block the UI

Changed in appcenter:
status: New → Confirmed
summary: - searching for "converter" crashes the app
+ Freezes after typing two letters in search
Changed in appcenter:
importance: Undecided → High
summary: - Freezes after typing two letters in search
+ Freezes after typing two letters in search [$20]
Changed in appcenter:
status: Confirmed → In Progress
assignee: nobody → Rubén Reina (ruben-reina-dev)
Rubén Reina (ruben-reina-dev) wrote :

After examining this bug, the changes I have applied are:
 - Ask the core (Client) for apps and add the apps to the UI in an asynchronous method.
 - Limit the number of displayed apps in a search result to 100. I have done this to improve the search responsiveness not overloading the UI too much.

Changes were uploaded in this branch: https://code.launchpad.net/~ruben-reina-dev/appcenter/fix_search_freezes

I have done tests. Please, I would like you to review my code and also test it.
Thank you.

Daniel Fore (danrabbit) on 2016-08-20
Changed in appcenter:
status: In Progress → Fix Committed
Daniel Fore (danrabbit) on 2016-08-28
Changed in appcenter:
milestone: none → loki-rc1
Cody (stillcms) wrote :

This bug is still active for me and this is after the final release.

Appcenter is still freezing after entering 2 characters in search box!

Cody Garver (codygarver) on 2016-09-26
Changed in appcenter:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers