software center stop working when I select system software for a long time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTK+ |
New
|
Medium
|
|||
gtk+3.0 (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
Precise |
Won't Fix
|
Low
|
Unassigned | ||
Quantal |
Won't Fix
|
Low
|
Unassigned | ||
software-center (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
Using:
Description: Ubuntu 11.10
Release: 11.10
1- Open Ubuntu software center
2-In the left menu select System
then Ubuntu Software Center stop working for a long time (16s on my system)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-center 5.0.6
ProcVersionSign
Uname: Linux 3.0.0-17-
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Fri Apr 20 15:23:35 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
LANG=it_IT.UTF-8
SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Gary Lasker (community): Approve
-
Diff: 103 lines (+37/-26)1 file modifiedsoftwarecenter/ui/gtk3/widgets/apptreeview.py (+37/-26)
Changed in software-center (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → precise-updates |
description: | updated |
summary: |
- software center stop working when I select system software + software center stop working when I select system software for a long + time |
tags: | added: patch |
Changed in gtk: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in software-center (Ubuntu): | |
status: | Confirmed → In Progress |
status: | In Progress → Fix Committed |
Changed in software-center (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
Changed in gtk+3.0 (Ubuntu Quantal): | |
importance: | Undecided → Low |
Changed in gtk+3.0 (Ubuntu Precise): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in gtk+3.0 (Ubuntu Quantal): | |
status: | New → Triaged |
It seems like the following query is taking up a lot of time: performance - DEBUG - populate model from query: 'Xapian: :Query( ((((((( ((((((( (((<alldocument s> AND_NOT ((<alldocuments> AND ACutility) AND_NOT ACaccessibility)) AND_NOT ((<alldocuments> AND ACaccessibility) AND_NOT ACsettings)) AND_NOT ... AND_NOT (<alldocuments> AND ACx-publication)) AND_NOT (AParmagetronad OR XParmagetronad OR APcalibre OR XPcalibre OR APcheese OR XPcheese OR APhomebank OR XPhomebank OR APstellarium OR XPstellarium OR APgimp OR XPgimp OR APinkscape OR XPinkscape OR APblender OR XPblender OR APaudacity OR XPaudacity OR APgufw OR XPgufw OR APfrozen-bubble OR XPfrozen-bubble OR APfretsonfire OR XPfretsonfire OR APmoovida OR XPmoovida OR APliferea OR XPliferea OR AParista OR XParista OR APgtg OR XPgtg OR APfreeciv- client- gtk OR XPfreeciv- client- gtk OR APsupertuxkart OR XPsupertuxkart OR APtumiki-fighters OR XPtumiki-fighters OR APtuxpaint OR XPtuxpaint OR APwebservice- office- zoho OR XPwebservice- office- zoho)) AND_NOT (<alldocuments> AND ATapplication)) AND_NOT (<alldocuments> AND ATapplication)) AND <alldocuments>))' (threaded: True): 17.0178701878
2012-04-23 17:17:26,615 - softwarecenter.
Now this supposed to be threaded and not hang the app at least :/ But that is in fact a red-herring. The bulk of the time view.display_ matches( ) there (15.6 of 17s). And that spends most time deep in "self.tree_ view.set_ model(model) " (appview.py:177).
seems to be spend in softwarecenter.py on_query_complete() and in
self.app_