Sort by name sorts by description

Bug #1031529 reported by Ross Younger
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Confirmed
Medium
Satwik Bhandiwad

Bug Description

Version: software-center 5.2.3 (from Ubuntu 12.04 on amd64)

Having searched for a fragment of a package name, I wanted to sort the results by package name. Sadly, selecting sort "By Name" in the dropdown list in fact sorts the results by the first line of the Description from the debfile. Please rename "Sort By Name" to be less confusing and add a "Sort By Package Name" or similar.

Workaround: install synaptic.

Revision history for this message
Ross Younger (crazyscot) wrote :
Robert Roth (evfool)
Changed in software-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Robert Roth (evfool) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest version of Ubuntu - Quantal Quetzal.

If you need a fix for the bug in previous versions of Ubuntu, please follow the instructions for "Requesting a Backport" at https://wiki.ubuntu.com/UbuntuBackports#Requesting_a_Backport

Changed in software-center (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Ross Younger (crazyscot) wrote :

Thanks. What version of software-center contains the fix? I'm having trouble finding it in the changelog.

Revision history for this message
Robert Roth (evfool) wrote :

Sorry, I have been looking at the end of the list, where every packagename starts with lib, and the items were sorted by the last part of the packagename, but indeed, I could find package 'ri1.9.1' before 'libhd....'.
The code [1] also states this: first try sorting by display name, which (for apps which don't have a desktop file) is the first line of the description from the .control file, and fall back to sorting by packagename.

[1] http://bazaar.launchpad.net/~software-store-developers/software-center/trunk/annotate/head:/softwarecenter/db/enquire.py#L212

Changed in software-center (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Robert Thorneycroft (robert-thorneycroft) wrote :

This bug still exists in 13.04, selecting any of the categories and then ordering by name seems to result in a completely random sequencing of the available applications.

I have included and example screenshot showing what happens if selecting 'Games' -> 'All 590' and the choosing 'By Name' as you can see the first three games are 'xrubik', 'Keen' and 'Warmux' in that order. In addition the ordering is now not even based on the description field as the first words of these descriptions are 'Rubik', 'Game' and 'A'. The same result happens regardless of which section of the Software Centre is being viewed.

Changed in software-center (Ubuntu):
assignee: nobody → Satwik Bhandiwad (satwik-bhandiwad)
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.