Thunar does not remember the listing order and sorting priorities (by filename, by type...) from the last session. It would be a useful feature in the preferences menu alongside a "last open folder" option. Reproducible: Always Steps to Reproduce: 1. 2. 3.
The sort column id and sort order is indeed a good thing to remember. But the last folder is not necessarily a good idea, as people will expect Thunar to open the folder which is passed by command line or from which Thunar was spawned (this doesn't work currently, but will be fixed soon).
Committed with revision 19854. 2006-02-13 Benedikt Meurer <benny@xfce.org> * thunar/thunar-enum-types.{c,h}, thunar/thunar-list-model.h: Rename ThunarListModelColumn to ThunarColumn and add an enum type for it. * thunar/thunar-details-view.c, thunar/thunar-icon-view.c, thunar/thunar-list-model.c, thunar/thunar-path-entry.c: Use the new ThunarColumn enum type. * thunar/thunar-gobject-extensions.c: Add transformation function for GtkSortType to string. * thunar/thunar-preferences.c, docs/README.thunarrc: Add LastSortColumn and LastSortOrder preferences, which contain the last selected sort settings. Bug #1342. * thunar/thunar-standard-view.c: Apply default sort settings on con- struction and save new defaults whenever the sort settings are changed by the user. Bug #1342.