Unexplained Residual Files (Any Version)

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

Moderators: xnview, Dreamer

alee001
Posts: 278
Joined: Sun Sep 04, 2022 4:43 am

Unexplained Residual Files (Any Version)

Post by alee001 »

When browsing different folders in Windows 11, I occasionally find some .XnViewSort files (see image). If these are files temporarily stored for sorting purposes, they should be deleted afterward. However, I have to search for them and delete them manually every time. I believe this is a bug and please fix it.
You do not have the required permissions to view the files attached to this post.
User avatar
user0
XnThusiast
Posts: 2843
Joined: Sat May 09, 2015 9:37 am

Re: Unexplained Residual Files (Any Version)

Post by user0 »

use forum search before posting
viewtopic.php?t=48241
alee001
Posts: 278
Joined: Sun Sep 04, 2022 4:43 am

Re: Unexplained Residual Files (Any Version)

Post by alee001 »

1)What's even stranger is that those folders had no custom sorting or settings in the past or recent, but in the Windows search (including hidden files) results (as shown in the image), it says those files don't exist at all (only displayed) and can't be deleted?

2)After copying a batch of PNG images in a recent folder, I converted them to JPGs, which generated a .XnViewSort file (which can be deleted), but sometimes when I do the same program in other folders, this file doesn't appear?

3)I've tried it, and the results (folder location) for Windows searching for .XnViewSort files are different every time, regardless of whether the MP program is open or not?

If users have to manually modify xnview.ini to enable/disable it, then that's clearly the problem.
User avatar
xnview
Author of XnView
Posts: 47521
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Unexplained Residual Files (Any Version)

Post by xnview »

if you rearrange files in a folder, .XnViewSort is created
Pierre.
alee001
Posts: 278
Joined: Sun Sep 04, 2022 4:43 am

Re: Unexplained Residual Files (Any Version)

Post by alee001 »

xnview wrote: Tue Mar 03, 2026 8:52 am if you rearrange files in a folder, .XnViewSort is created
After updating to v1.10.2, I tested .XnViewSort again and found the following:

1) This seems to be a problem with Windows 11 (possibly a bug), the search results don't match the actual files. [Resolved]

2) This issue hasn't occurred in the new version yet. [Under observation]

3) This issue has not reappeared. [Resolved]

I understand that rearranging files generates .XnViewSort files and displays them in a custom sort. However, the problem is that when I revert to a non-custom sort, the .XnViewSort files in the folder are not automatically deleted. Without my knowledge, the .XnViewSort files become obsolete files.