After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 630543 - file-roller does not respect sort order for folders
file-roller does not respect sort order for folders
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
3.16.x
Other Linux
: Normal minor
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2010-09-24 19:47 UTC by Oliver Joos
Modified: 2017-02-16 13:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix weird folder order when sorting by size (1.24 KB, patch)
2016-10-30 23:10 UTC, Jan Achterhold
none Details | Review

Description Oliver Joos 2010-09-24 19:47:52 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.
Comment 1 Oliver Joos 2013-05-29 10:20:15 UTC
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.
Comment 2 Christian Stadelmann 2015-10-05 09:36:32 UTC
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".
Comment 3 Jan Achterhold 2016-10-30 23:09:25 UTC
The weird order for folders when "sorting by size" is caused by an integer overflow. The proposed patch fixes this.
Comment 4 Jan Achterhold 2016-10-30 23:10:25 UTC
Created attachment 338805 [details] [review]
Fix weird folder order when sorting by size
Comment 5 Paolo Bacchilega 2016-10-31 07:36:46 UTC
Patch applied to master and gnome-3-20 branch, thank you.
Comment 6 Olivier Berten 2017-02-16 13:11:35 UTC
As of 3.22.1, it is still not fixed for the "modified" column.