XnView: MP 0.98.4 - 64 bit
OS: Windows 10 - 64bit
XnView MP creates one .tmp file for each .clip it opens, and for whatever reason shortly after startup it does that for every file in the current directory (presumably to generate thumbnails?). I understand this is done to copy over the SQLite contents of the .clip file to then open them with some SQLite reader library and extract the thumbnail contained within, which is then displayed by XnView as the image of that .clip file. The problem lies in that these .tmp files are not deleted afterwards. They do end up with 0 size, however, so their contents are cleared, but the file itself is not removed, which eventually leads to the temp folder positively overflowing with them, to the point that it takes a while to even open the folder in a file manager.
Effect: Lots of useless temp files remain not cleaned up.
To reproduce:
1. Download the attached 100.7z file containing a 100 identical .clip files. (zip couldn't compress them well enough for the archive to be of a small enough size to be attached to this topic)
2. Extract them all into the same folder.
3. Open one of the extracted files with XnView MP.
4. Observe that 2 x_****.tmp files are created inside your %TEMP% folder: one for the file being opened, one for the next file being preloaded.
5. After a few second observe that 100 more x_****.tmp files are created, one for each file in the folder.
Actual behaviour (bug): None of the 102 created temp files are deleted, neither immediately, nor after closing XnView MP.
Expected behaviour: XnView to clean up after itself.
0.98.4: .clip files generating x_*.tmp files and not deleting them
Moderators: XnTriq, helmut, xnview, Dreamer
0.98.4: .clip files generating x_*.tmp files and not deleting them
- Attachments
-
- 100.7z
- (38.9 KiB) Downloaded 43 times
Re: 0.98.4: .clip files generating x_*.tmp files and not deleting them
Thanks to your detailed description I can reproduce the problem.
Pierre.
Re: 0.98.4: .clip files generating x_*.tmp files and not deleting them
This problem is supposed to be fixed in XnView MP 0.99.0. Please check and confirm the bug fix here.
Pierre.
Re: 0.98.4: .clip files generating x_*.tmp files and not deleting them
Confirmed. The temp files are now cleaned up automatically. Thanks for the fix.