GNOME Bugzilla – Bug 144803
Selected items not preserved correctly when list re-sorted
Last modified: 2004-12-22 21:47:04 UTC
Description of Problem: List view in Nautilus does not correctly preserve selected items when the list is re-sorted by a different column. Reverse-sort works fine (by clicking the same column again), but when a new column is clicked, the wrong items are selected. Steps to reproduce the problem: 1. Go to a folder with several items in and select the List View. 2. Select an item or multiple items in the list. 3. Click a column heading to sort the list by that column. Continue clickingn other columns to get different selections in the list. Actual Results: The wrong items are selected when a new sort column is selected Expected Results: The same items should be selected after a new sort as were selected before the sort How often does this happen? Most of the time for me, YRMV Additional Information: The selection of items appears to be confined to their file type (either a file or directory). If you have 10 directories and 50 files but select only one directory and 3 files out of that, regardless how you sort, you'll always be left with one directory and three files selected (but they're not necessarily the ones you initially selected).
Created attachment 32133 [details] [review] Nautilus list sorting patch This patch fixes the problem. Items selected before a sort will now be properly preseved after a sort. The bug was that the 'new_order' array wasn't correctly filled in.
Patch commited. Thanks a lot!