I started with 5 image files Img01.jpg ... Img05.jpg in the folder "D:/Base/Sub1/Sub2/Sub3". The order of the images in subfolder Sub3 was rearranged by shifting Img05.jpg between Img02.jpg and Img03.jpg in XnViewMP's browser pane (Custom order). The file list with all 5 images selected was created using "Create > File listing...". The following picture shows extracts from the browser pane, the file listing dialog, and the resulting text file:
As can be seen from the text file, the order of the images is correct, but the pathnames are not formed correctly because of the missing slash after subfolder Sub3.
Obviously this feature is designed to export image information, but a common usage of this feature is to export a pure file list (for example to save the DB result) and to import this file list via "File > Open file list..." in XnViewMP or in other programs. This does not work, even after fixing the pathnames, because XnViewMP recognizes the trailing tab after the filename as part of the extension. My expectation is that a file list as created by XnViewMP can be read by XnViewMP without modifications.
After deleting the tabs in the file list, XnViewMP imports the file list and shows the images in the file list as "<DB result>" (filter "Images" active, otherwise the head line will be shown as well):
As can be seen from this screenshot, the file list is sorted, so the customized order of the images in the file list is lost. It should be possible to view the images in the file list in the pregiven order.
Another problem concerns the {Folder name} tag as offered in the file listing dialog:
My guess is that the {Folder name} tag is assigned to the folder where the image file resides. I assume that the correct folder name shows up as soon as the filename-bug is fixed. Another possible and useful meaning for "folder name" could be the relative pathname, starting with the "Base path" as configured for the database.
Another shortcoming is the inconsistent usage of the trailing slash after {Directory} tag and after {Folder name} tag: for {Directory} tag, the slash is added by XnViewMP by default, for {Folder name} tag, no slash is added.
Here some suggestions:
- avoid the trailing tab (in the text file list, a tab makes only sense to separate 2 items);
- no head line for a text file if requested (for example by an additional "Format"-entry: "Text without head line");
- show the images in the order as given in the file list (using the file list as a .XnViewSort file);
- don't add a trailing slash after {Directory} tag (let the user customize the pathname);
- create a UTF-8 text file if requested (by an additional checkbox);
- be more precise in the selection menu for a tag (the difference between "folder" and "folder name" is not obvious);
- customize the separator in a pathname (slash or back-slash) and make Windows users happy.