Red Hat Bugzilla – Bug 509067
Sizes in "Status" column do not sort by size
Last modified: 2009-07-16 03:24:29 EDT
Created attachment 350062 [details]
Image where should be sorted descendingly, isn't
Description of problem:
"Software Update" window (gpk-update-viewer) has a column "Status" which has the package sizes listed in it. You can click the column header to, in theory, sort descending or ascending. However, toggling it between either doesn't sort in either way.
Version-Release number of selected component (if applicable):
Both times I've tried.
Steps to Reproduce:
1. Open the "Software Update" window when there are updates.
2. Click "Status", the header for the column containing sizes
The column does not sort itself.
The column should sort itself. Since it contains sizes, it should sort numerically (though with 1MB > 100KB, of course :)
It sorts by status, i.e. downloading, downloaded, installing... why do you want to sort by size?
Before I begin installing the updates, as the attached screenshot shows, it displays the sizes of the files down the "Status" column. Due to bandwidth constraints, I sometimes find it worthwhile to upgrade to all but the biggest things. (Though, I suppose Presto on Fedora can help with the cause.)
Regardless, the UI exposes a column that can be sorted, where the content (at the time, package sizes) does not appear to sort (since I suppose it doesn't care about the size it's displaying, but the status it's not displaying, at the time).
(In reply to comment #2)
> Due to bandwidth
> constraints, I sometimes find it worthwhile to upgrade to all but the biggest
Right, that's a fair use case.
> Regardless, the UI exposes a column that can be sorted, where the content (at
> the time, package sizes) does not appear to sort (since I suppose it doesn't
> care about the size it's displaying, but the status it's not displaying, at the
Right, and that's just bad usability. I've fixed this upstream:
Author: Richard Hughes <firstname.lastname@example.org>
Date: Wed Jul 1 10:23:54 2009 +0100
Don't include the size column in the Status column. Fixes rh#509067
New release is scheduled for next Monday. Thanks.
Thanks for handling this!
gnome-packagekit-2.27.3-1.fc11 has been submitted as an update for Fedora 11.
gnome-packagekit-2.27.3-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.