software-center is not responsive when navigating application list using keyboard arrows (up/down)

Bug #556290 reported by Zygmunt Krynicki on 2010-04-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)

Bug Description

Binary package hint: software-center

Navigating application list (like the installed application list) using keyboard is not working very well.
The application seems to be performing some synchronous operation and becomes not responsive after a moment of holding down arrow (as if the user wanted to navigate all the way to the bottom of the list).
In addition, if compiz is enabled the application turns gray.

Zygmunt Krynicki (zyga) wrote :

Ghost entry causes this backtrace when selected:

Traceback (most recent call last):
  File "softwarecenter/view/", line 257, in on_get_value
    summary = self.db.get_summary(doc)
  File "./softwarecenter/db/", line 160, in get_summary
    if not summary and self._aptcache.ready:
AttributeError: 'Cache' object has no attribute 'ready'

Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

I wouldn't say 'not responsive' but it takes time to 'unbufferize' the up/down keys. it could be better for sure.
The slowness is greater when going up than down.
I cannot reproduce the 'gray screen' effect because I dont use compiz.

Changed in software-center (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Zygmunt Krynicki (zyga) wrote :

Technically the application *is* not responsive, it is not running the main loop and is not processig events for prolonged periods. This is a side effect of bad design and too
much processing that is performed inside event handlers. I talked with Mvo and am in progress of working on a proof-of-concept rewrite of the backend/processing to be asynchronous. I'll be posting updates to this bug report.

Side note: there are many separate places that need fixing. The one visible here could also be related to gtk treeview performance.

Michael Vogt (mvo) on 2010-04-18
Changed in software-center (Ubuntu):
importance: Low → Medium
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 2.0.2

software-center (2.0.2) lucid; urgency=low

  * softwarecenter/view/
    - improve responsiveness of the listview by caching the
      rendered icons (LP: #556290)
 -- Michael Vogt <email address hidden> Sun, 18 Apr 2010 13:42:50 +0200

Changed in software-center (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers