GNOME Bugzilla – Bug 630543
file-roller does not respect sort order for folders
Last modified: 2017-02-16 13:11:35 UTC
file-roller displays files and folders in an archive as multi-column list. Clicking a column title sorts it ascending, clicking it again sorts it descending. It behaves like Nautilus, except that folders are always sorted according to their name column! I'd expect that files and folders are both sorted according to the same column, namely the last-clicked column that shows the small arrow to indicate the sort order.
file-roller 3.6.3 is still affected by this bug. If I click on the Date column then only files are sorted by date, folders stay sorted by their name.
Still present on file-roller-3.16.4-1.fc22.x86_64 gtk3-3.16.7-1.fc22.x86_64 Files are sorted according to any specified sort order (type, size, date, name). Folders are often sorted by name (e.g. when "sorting by date") or by some completely weird order when "sorting by size".
The weird order for folders when "sorting by size" is caused by an integer overflow. The proposed patch fixes this.
Created attachment 338805 [details] [review] Fix weird folder order when sorting by size
Patch applied to master and gnome-3-20 branch, thank you.
As of 3.22.1, it is still not fixed for the "modified" column.