Page 1 of 1

1.6.4 - batch rename inadvertently hiding files

Posted: Sun Jan 21, 2024 9:45 am
by ElAlastair
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.

Re: 1.6.4 - batch rename inadvertently hiding files

Posted: Tue Jan 23, 2024 9:34 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: 1.6.4 - batch rename inadvertently hiding files

Posted: Thu Feb 22, 2024 2:41 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.6.5. Please check and confirm the bug fix here.

Re: 1.6.4 - batch rename inadvertently hiding files

Posted: Thu Feb 22, 2024 6:23 pm
by ElAlastair
Seems good, thanks. :)