martinmimigames / little-file-explorer

Android 1.0+ mini file explorer and manager
https://martinmimigames.github.io/projects/little-file-explorer/
GNU General Public License v3.0
319 stars 13 forks source link

[Feature Request] Keep position of files and folders list when going back to parent folder #53

Open shai8I opened 1 year ago

shai8I commented 1 year ago

Description

Currently, the files and folders list resets to the top position when the user goes back to the parent folder (via the "<-" button or the Back button).

Rationale

The behaviour of keeping the position of the list is consistent with other user and system apps.

It also allows users who are looking through a list of folders to open folders without needing to scroll back to where they were previously.

Implementations considered

Some file managers keep the position by putting the folder the user last tapped on at the top of the list. This might be convenient as the previous folder is always in the same place.

However, if the list of folders is not long enough for the previous folder to be at the top of the list, then the position of the previous folder would not be consistent (unless some space is appended at the bottom of the list (e.g. like when you do page down in GNU nano).

A more standard way would be to keep the position of the list. Users usually remember the position they last tapped on when entering a folder, so it would feel intuitive to continue looking from that spot when they return to the parent folder.

Cwpute commented 1 year ago

However, if the list of folders is not long enough for the previous folder to be at the top of the list, then the position of the previous folder would not be consistent

In that case the parent folder could instead be highlighted, with a contour line for example, or a different color. But that could create some confusion with the selection color.

EDIT: instead of being continuously selected as i previously suggested, it could slowly flash for a second or two to indicate to the user where they came from.