Page 1 of 1

Change Timestamp tool leaving ".jpg_exiftool_tmp" files in the directory

Posted: Mon Mar 26, 2018 8:04 pm
by fractl
Subject: 0.85: <short bug title>

XnView MP Linux
Version 0.88 64bits (Nov 2 2017)
OS: Linux 64bit (Xubuntu 16.04.2 LTS)

After producing JPG files from my RAW images, I use XNViewMP's handy "Change Timestamp" feature to batch process all of them and reset the Modified Date to be their original EXIF Date Taken. This has always worked very well for me. In one of the recent updates though (couldn't swear to it being the latest), this lovely tool has started leaving a temp file, with the extension ".jpg_exiftool_tmp" for every file that it touches. (The filename matches the original jpg's filename.)

Effect: Annoying temp files are created which clutter up the directory, and if the tool is opened again (without first deleting the tmp file) to perform an additional the operation on the file, an error dialog appears and the operation fails.

To reproduce:
1. Select a file with EXIF data
2. Open the Change Timestamp tool
3. Change the file date and click Write
4. Click Cancel (should really say "Close" because we're not cancelling what we just did!)
5. Press F5 to refresh the file list

Actual behaviour (bug): A file is created with the same filename as the original, but with the extension ".jpg_exiftool_tmp" :bug:

Expected behaviour: File EXIF data is updated.

This can all be done over again, and if the ".jpg_exiftool_tmp" file is present in the folder, then an error is thrown. (See screenshot.)

Re: Change Timestamp tool leaving ".jpg_exiftool_tmp" files in the directory

Posted: Thu Mar 29, 2018 12:47 pm
by xnview
what do you have in settings>General>File operations>Make backup...?

Re: Change Timestamp tool leaving ".jpg_exiftool_tmp" files in the directory

Posted: Thu Mar 29, 2018 1:52 pm
by fractl
Nothing that I've changed recently...
Screenshot_2018-03-29_14-50-29.png

Re: Change Timestamp tool leaving ".jpg_exiftool_tmp" files in the directory

Posted: Thu Mar 29, 2018 2:08 pm
by xnview
please try to disable 'Make backup for other lossless operations'

Re: Change Timestamp tool leaving ".jpg_exiftool_tmp" files in the directory

Posted: Thu Mar 29, 2018 6:07 pm
by fractl
Tried that (including after restarting the program to be sure), it didn't make a difference unfortunately.

Re: Change Timestamp tool leaving ".jpg_exiftool_tmp" files in the directory

Posted: Fri Mar 30, 2018 5:27 am
by xnview
fractl wrote:Tried that (including after restarting the program to be sure), it didn't make a difference unfortunately.
could you try the 0.90, i think that this bug was fixed?

Re: Change Timestamp tool leaving ".jpg_exiftool_tmp" files in the directory

Posted: Fri Mar 30, 2018 9:23 pm
by fractl
Hurrah! - that did it, thank you. And apologies because I thought I was running the latest version - it turned out that somehow both versions were installed but in parallel. :? The app shortcut was to the old one and I didn't get the notifications that I had an old version because the new one was there, but I was still using the old one. (I thought the OS's Software Manager sorted all that out but apparently sometimes it gets it wrong.)