Reloading a folder (or using history Back / Forward) loses the selection
As requested, forking issue #1246 (closed) specifically about the selection part, since the scrolling part is being taken care of as part of !1082 (merged) in issue #2720 (closed).
If you select (with ctrl+click, or the arrow keys, or something) one or more item(s), whether in the listview or grid view, and:
- The view gets refreshed / reloaded (an easy way to trigger/reproduce this is to do
Ctrl+R
) - You navigate back and forward (using the < and > buttons on the toolbar). That one might be a bit more debateable when in double-click mode...
...the files/folders selection state is not preserved.
This makes me lose my context and that's annoying. Selection states are "user work" and should be preserved whenever possible, like in various other contexts in Nautilus.
In the case of navigating back/forward in single-click mode (instead of double-click), the selection state is replaced by the folders you clicked on that "led you to another folder" (ex: you're in folder A, you click folder B, it enters folder B, and when you click the "<" button folder B is still selected as you would expect). This kinda makes sense in double-click mode (because a double-click involves a 1st click anyway), though I wonder if it makes sense in single click mode. Maybe you'd find this part (selection preservation on history change) debateable. But losing the selection on reload isn't really acceptable, however.