Subject: 1.6.4 - batch rename inadvertently hiding files
XnView: MP 1.6.4 - 64 bit
OS: macOS 12.7.2 - 64bit
When performing a batch rename according to a template, a file can be renamed to blank (e.g. ".jpg") and thus hidden by the OS if the template data is unavailable.
Effect: Files are inadvertently hidden from XnView MP and the user may think they have been deleted.
To reproduce:
1. Find an image with no EXIF data
2. Batch rename with template "{EXIF:Date Taken [Y.m.d_H.M.S]}"
3. File will be renamed to ".jpg" and hidden by the OS so disappears from XnView MP
Actual behaviour (bug): File will be renamed to ".jpg" and hidden by the OS so disappears from XnView MP. If a file with that name already exists, it is renamed to "tmp-xnview-0-{ original file name }.jpg".
Expected behaviour: It would be best if the file was not renamed if the template data is unavailable - or at least not renamed to a hidden file.
I don't really know if this qualifies as a bug, but when I was batch renaming a large number of files with template "{EXIF:Date Taken [Y.m.d_H.M.S]}", one was missing EXIF data and because it was renamed to a hidden file, I couldn't find it for ages and thought it had been deleted.
1.6.4 - batch rename inadvertently hiding files
Moderators: helmut, XnTriq, xnview, Dreamer
-
- Posts: 6
- Joined: Sat Jul 15, 2023 3:09 pm
Re: 1.6.4 - batch rename inadvertently hiding files

Pierre.
Re: 1.6.4 - batch rename inadvertently hiding files
This problem is supposed to be fixed in XnView MP 1.6.5. Please check and confirm the bug fix here.
Pierre.
-
- Posts: 6
- Joined: Sat Jul 15, 2023 3:09 pm
Re: 1.6.4 - batch rename inadvertently hiding files
Seems good, thanks. 
