Unfortunately, I don't understand what it means - ".XnViewSort". I just wanted to say that using "Custom" sorting globally, in all folders, does not logically make sense for the vast majority of users.
And it would be more convenient if this type of sorting was automatically changed to the standard (Name) after the user leaves the folder with the "Custom" sorting.
1.9.10 - The problem with sorting files
Moderators: xnview, Dreamer
-
user0
- XnThusiast
- Posts: 2842
- Joined: Sat May 09, 2015 9:37 am
Re: 1.9.10 - The problem with sorting files
few optionsxnview wrote: Tue Feb 17, 2026 9:12 am So when you browse in a folder with .XnViewSort, sort is automatically 'Custom', and in other folder users sort?
- as you described (via saving 'previous sort order')
- add 'enabled=[true/false]' flag into .XnViewSort
- if no .XnViewSort in folder and user triggers manual sort
- create file with enabled flag
- if .XnViewSort exists in folder
- check flag
- if enabled/absent - use manual sort
- if disabled - use current sort
- if user changes sort from current to Custom
- save 'previous sort order' AND
- use XnViewSort, set flag to enabled
- check flag
- if no .XnViewSort in folder and user triggers manual sort
I would delete, but someone may be upset that their very important sorting order has been deleted OR see abovexnview wrote: Tue Feb 17, 2026 9:12 am If you browse a folder with .XnViewSort, and user choose another sort, .XnViewSort should be removed?