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

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
fractl
Posts: 37
Joined: Fri Sep 26, 2014 10:15 am

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

Post 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.)
Attachments
Screenshot_2018-03-26_20-42-26.png
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

what do you have in settings>General>File operations>Make backup...?
Pierre.
User avatar
fractl
Posts: 37
Joined: Fri Sep 26, 2014 10:15 am

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

Post by fractl »

Nothing that I've changed recently...
Screenshot_2018-03-29_14-50-29.png
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

please try to disable 'Make backup for other lossless operations'
Pierre.
User avatar
fractl
Posts: 37
Joined: Fri Sep 26, 2014 10:15 am

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

Post by fractl »

Tried that (including after restarting the program to be sure), it didn't make a difference unfortunately.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post 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?
Pierre.
User avatar
fractl
Posts: 37
Joined: Fri Sep 26, 2014 10:15 am

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

Post 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.)
Post Reply