Page 1 of 1

Export leaves an empty *.tmp file behind

Posted: Tue Feb 18, 2020 4:03 pm
by ckv
Very minor old bug.

The File/Export tool creates two .tmp files (<rand>.tmp and <rand>.tmp.tmp) in the temp directory each time you use it. Temp file with the double extension (<rand>.tmp.tmp) is the one that XnView actually uses and deletes afterwards, but the <rand>.tmp file that is not used is never deleted by XnView.

Re: Export leaves an empty *.tmp file behind

Posted: Thu Feb 27, 2020 11:24 am
by xnview
i can't reproduce, you open a file in edit mode, File>export - jpeg, close dialog, and you have .tmp?

Re: Export leaves an empty *.tmp file behind

Posted: Fri Feb 28, 2020 11:41 am
by ckv
xnview wrote: Thu Feb 27, 2020 11:24 am i can't reproduce, you open a file in edit mode, File>export - jpeg, close dialog, and you have .tmp?
Yes, exactly. Zero-length .tmp file in the %temp% directory.

Re: Export leaves an empty *.tmp file behind

Posted: Wed Apr 22, 2020 8:51 pm
by ckv
I think that Windows Storage Sense (new feature in Windows 10) may get in the way when trying to reproduce this issue. Try disabling Storage Sense on Windows 10 or try on older Windows version.