I noticed that XnViewMp uses the system temp folder for thumbnailing. For portable version I don't think this is a good decision. It should use a temp folder in application directory.
Still noticed that the thumbnails for videos get stored there. However they do not get cleaned properly and stay there some times.
Also noted some mysterious lock files from XnViewMP in that folder which never get deleted.
Temp folder issues
Re: Temp folder issues
I don't think that is correct. In my temp folder I see:xnview wrote:i don't use temp folder, perhaps it's ffmpeg if you use it
qtsingleapp-xnview-e789-1-lockfile what ever this means
and
a lot of files like "xnview_E14008.png" which are the single thumbnail images.
FFMPEG is not installed and portables as well, so using the system temp folders is bad. But even more worse is that the items do not get cleaned from the temp folder.
Re: Temp folder issues
From QT api, so i can't change thatjadO wrote: qtsingleapp-xnview-e789-1-lockfile what ever this means
ok, created by ffmpeg, should be deleted by QT apia lot of files like "xnview_E14008.png" which are the single thumbnail images.
Pierre.
Re: Temp folder issues
That't not good.xnview wrote:From QT api, so i can't change thatjadO wrote: qtsingleapp-xnview-e789-1-lockfile what ever this means
ok, created by ffmpeg, should be deleted by QT apia lot of files like "xnview_E14008.png" which are the single thumbnail images.
-
meteorquake
- Posts: 78
- Joined: Wed Sep 13, 2023 9:37 am
Re: Temp folder issues
Although an old post I notice the same just now.
It seems to occur for me when using the Export function to preview... name format is the likes of "xnview_1762366641.png"
It seems to occur for me when using the Export function to preview... name format is the likes of "xnview_1762366641.png"
Re: Temp folder issues
This has been annoyance for as long as I can remember. Every time you use the export functionality it creates those temp files. Ideally, it wouldn't even write those temp files in the first place and just keep it all in memory. At very least it should delete them instantly when not needed (app is closed, export view is closed).
-
meteorquake
- Posts: 78
- Joined: Wed Sep 13, 2023 9:37 am
Re: Temp folder issues
I'd expect an ease-of-programming logic meant it was done that way.
However they certainly need to be cleaned up afterward.
In addition, I think there should be a custom temp path people can enter under Settings - Paths
For myself I generally redirect temp files of programs I use to ramdisk.
The whole temp files in windows generally is very badly designed with most files having no value to retain on close-down with a few mixed in that might (such as installers), meaning 99% of temp files are needlessly written to disk when many people nowadays have large amounts of free ram. For anyone in a situation of needing to be security conscious, this is definitely a security issue since temp files on a normal disk will leave a permanent unlocked trace even if deleted.
However they certainly need to be cleaned up afterward.
In addition, I think there should be a custom temp path people can enter under Settings - Paths
For myself I generally redirect temp files of programs I use to ramdisk.
The whole temp files in windows generally is very badly designed with most files having no value to retain on close-down with a few mixed in that might (such as installers), meaning 99% of temp files are needlessly written to disk when many people nowadays have large amounts of free ram. For anyone in a situation of needing to be security conscious, this is definitely a security issue since temp files on a normal disk will leave a permanent unlocked trace even if deleted.