"Show _ items" count is wrong in "Installed Software"

Bug #635539 reported by Keith Allcock
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: software-center

Simply, when you open the software centre and go to the installed software list, the text at the bottom on the main pane shows a link to see all items.
This link on my maverick system shows "Show 32120 technical items"
Once I click on it, I see all packages, but, the link at the bottom now says "Hide 1765 technical items"

Which one is it ? It should be the same count in each screen.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: software-center 2.1.18.1
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Uname: Linux 2.6.35-20-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat Sep 11 07:58:30 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: software-center

Revision history for this message
Keith Allcock (keith-allcock) wrote :
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

This seems to be because the "Show {number} items" link is counting all the items available in that source, when it should be counting just the installed ones.

A way to see the problem with many fewer items:
1. "Edit" > "Software Sources" > "Other Software" > "Add" > "ppa:chromium-daily/ppa" > "Add Source" > "Close".
2. Install Chromium.
3. Wait for the PPA to show up as a child item of "Get Software" and of "Installed Software" (bug 634999).
4. In "Get Software" : "PPA for Ubuntu Chromium - Daily Builds", click "Show 14 technical items" to see that 4 of 15 items are installed.
5. Switch to "Installed Software" : "PPA for Ubuntu Chromium - Daily Builds".

What happens: The disclosure link says "Show 14 technical items", just like the one in "Get Software" did.
What should happen: The disclosure link says "Show 3 technical items".

Changed in software-center (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - installed software counts are wrong and inconsistent
+ "Show _ items" count is wrong in "Installed Software"
Revision history for this message
Kiwinote (kiwinote) wrote :

This should now work nicely in recent version of software-center.

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

Other bug subscribers

Remote bug watches

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