File placed in Temp folder is no longer deleted

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
m48tx
Posts: 318
Joined: 07 May 2010 18:07
Location: Windows 11 25H2, Scaling 100%

File placed in Temp folder is no longer deleted

Post by m48tx »

The file with name like ~DFF2962182E7A1F220.TMP is no longer deleted from Windows temp folder when program is closed - beginning with 9.80.0101+.

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: File placed in Temp folder is no longer deleted

Post by nas8e9 »

m48tx wrote:The file with name like ~DFF2962182E7A1F220.TMP is no longer deleted from Windows temp folder when program is closed - beginning with 9.80.0101+.
I'm seeing a similarly named file being created in %temp% when XYplorer starts; after XYplorer has quit, it's still there. A search in Process Explorer shows that the file is opened by XYplorer.exe as both a handle as well as a DLL.

XYplorer 9.80.0125 / Windows 7 x64 RTM.

admin
Site Admin
Posts: 65245
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: File placed in Temp folder is no longer deleted

Post by admin »

XP: I cannot confirm that this started with 9.80.0101+. Actually every XY version I tested (back to 6.80) creates a file in TEMP and deletes on closing the app. Also the current version deletes it.

Win7/64: confirmed for the current BETA. Did not test other versions. Are you sure it started with 9.80.0101?

admin
Site Admin
Posts: 65245
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: File placed in Temp folder is no longer deleted

Post by admin »

Investigated this under Win7/64. Results are puzzling:

1) I can confirm that this problem (TEMP file not removed after exit) starts with v9.80.0101+.
2) I have no idea what change in the code caused this change in behavior. Not even a slight suspicion.
3) It seems that disabling auto-complete for Address Bar AND Find Files Location (see screenshot) seems to "fix" the problem (only when you startup AND exit with both settings disabled). Can you confirm this?
4) I have no idea why disabling auto-complete "fixes" the problem, or why this "fix" was not necessary in any version before v9.80.0101 (resp. v9.80.0101+).
5) I have no idea why this problem is only showing in Win7/64 (and probably Vista/64).

Hm. :|
Attachments
TempBugWin7.png
TempBugWin7.png (32.35 KiB) Viewed 4012 times

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: File placed in Temp folder is no longer deleted

Post by nas8e9 »

admin wrote:3) It seems that disabling auto-complete for Address Bar AND Find Files Location (see screenshot) seems to "fix" the problem (only when you startup AND exit with both settings disabled). Can you confirm this?
Can't confirm: when starting and exiting with the above settings, the temp file remains.

XYplorer 9.80.0126 / Windows 7 x64.

m48tx
Posts: 318
Joined: 07 May 2010 18:07
Location: Windows 11 25H2, Scaling 100%

Re: File placed in Temp folder is no longer deleted

Post by m48tx »

Thanks for your response! I am using Win7-32bit and am not exactly sure when the problem started, but I believe it was sometime after 9.80.0100 (that is why I originally put 9.80.0101+). I am currently using version 9.80.0125 and have attached a series of screen caps of the temp folder. I changed the options as you suggested and the file remains in temp after the program is closed. I'm sure this is no big deal, but as much as I open an close the XYplorer, I end up with quite the list of files.
Attachments
PS0095.jpg
PS0095.jpg (153.9 KiB) Viewed 3996 times
PS0096.jpg
PS0096.jpg (176.09 KiB) Viewed 3996 times
PS0097.jpg
PS0097.jpg (162.4 KiB) Viewed 3996 times

admin
Site Admin
Posts: 65245
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: File placed in Temp folder is no longer deleted

Post by admin »

In the meantime I could trace it down to the presence of WMP... so it started with v9.80.0121...

admin
Site Admin
Posts: 65245
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: File placed in Temp folder is no longer deleted

Post by admin »

admin wrote:In the meantime I could trace it down to the presence of WMP... so it started with v9.80.0121...
Strange that nobody of you can confirm this. It works for me 100%:
3) It seems that disabling auto-complete for Address Bar AND Find Files Location (see screenshot) seems to "fix" the problem (only when you startup AND exit with both settings disabled). Can you confirm this?

Anyway, I could not find a fix nor any information on this. So I will eventually have to remove WMP (OR maybe auto-complete) from XY. OTOH, when I look at my TMP folder it seems leaving traces there is almost common standard. :wink:

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: File placed in Temp folder is no longer deleted

Post by nas8e9 »

admin wrote:
admin wrote:In the meantime I could trace it down to the presence of WMP... so it started with v9.80.0121...
Strange that nobody of you can confirm this. It works for me 100%:
3) It seems that disabling auto-complete for Address Bar AND Find Files Location (see screenshot) seems to "fix" the problem (only when you startup AND exit with both settings disabled). Can you confirm this?
Unfortunately not, as posted earlier.
admin wrote:Anyway, I could not find a fix nor any information on this. So I will eventually have to remove WMP (OR maybe auto-complete) from XY. OTOH, when I look at my TMP folder it seems leaving traces there is almost common standard. :wink:
My $0.02 would be that both are valuable functions, whereas more advanced users will probably do some form of %temp% maintenance.

ogroeger
Posts: 92
Joined: 03 Jul 2007 07:39

Re: File placed in Temp folder is no longer deleted

Post by ogroeger »

i took a look into my temp dir and found those files, too (Win7/64). The oldest file with this naming scheme is from 2010-01-24. Unchecking the autocomplete for address bar and find files doesn't stop creation of those files.

m48tx
Posts: 318
Joined: 07 May 2010 18:07
Location: Windows 11 25H2, Scaling 100%

Re: File placed in Temp folder is no longer deleted

Post by m48tx »

Please don't remove functionality! However, what is this file used for? You must have logic in your program to remove it upon close. It is baffling that WMP would prevent the file removal.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: File placed in Temp folder is no longer deleted

Post by serendipity »

Seems like Thunderbird portable also does this:
http://portableapps.com/node/13797

admin
Site Admin
Posts: 65245
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: File placed in Temp folder is no longer deleted

Post by admin »

m48tx wrote:Please don't remove functionality! However, what is this file used for? You must have logic in your program to remove it upon close. It is baffling that WMP would prevent the file removal.
Yes, totally baffling. I have no idea what's going on and I'm not responsible for this temp file (neither creation nor removal). It looks like some sort of resource (there are bitmap data of the app icon contained). I'm still researching this.

admin
Site Admin
Posts: 65245
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: File placed in Temp folder is no longer deleted

Post by admin »

I'm working on making it (WMP) work.

Here's a test app showing the last problem I have: Whenever you play, pause, or stop an audio/video the WMP control auto-snaps to some undesired size. Totally weird. :| If anybody has a clue what's going on here...

Test app (8 KB):
http://www.xyplorer.com/download/WMPLab.zip
Usage:
Extract exe and place it where you have some MPG, AVI, MOV, MP4, or MP3. Those file types will be listed inside the app and ready for loading and playing in the WMP control.

@JohnM: Can you start this app without error? (You won't be able to do much more with it but I hope you can at least start it).

m48tx
Posts: 318
Joined: 07 May 2010 18:07
Location: Windows 11 25H2, Scaling 100%

Re: File placed in Temp folder is no longer deleted

Post by m48tx »

admin wrote:I'm working on making it (WMP) work.

Here's a test app showing the last problem I have: Whenever you play, pause, or stop an audio/video the WMP control auto-snaps to some undesired size. Totally weird. :| If anybody has a clue what's going on here...

Test app (8 KB):
http://www.xyplorer.com/download/WMPLab.zip
Usage:
Extract exe and place it where you have some MPG, AVI, MOV, MP4, or MP3. Those file types will be listed inside the app and ready for loading and playing in the WMP control.

@JohnM: Can you start this app without error? (You won't be able to do much more with it but I hope you can at least start it).
I ran the program as instructed and saw the same result as you. I'm clueless, but wanted to add my confirmation to your observation. The preview in 9.80.0126 works fine.

Post Reply