Freezes after typing two letters in search [$20]

Bug #1603107 reported by aggelalex
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.

Tags: bounty

Related branches

Revision history for this message
Danielle Foré (danrabbit) wrote : Re: Freezes after typing two letters in search

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]
Revision history for this message
Danielle Foré (danrabbit) wrote :
tags: added: bounty
Changed in appcenter:
status: Confirmed → In Progress
assignee: nobody → Rubén Reina (ruben-reina-dev)
Revision history for this message
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.

Changed in appcenter:
status: In Progress → Fix Committed
Changed in appcenter:
milestone: none → loki-rc1
Revision history for this message
Cody (stillcms) wrote :

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

Revision history for this message
Mohammad Alshehabi (moh-alshehabi) wrote :

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

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.