1.6.5: Sidecar files not being acted on when viewing search/filter results

Bugs which have been reproduced by a second user or the developer, or features to do

Moderators: XnTriq, helmut, xnview, Dreamer

BigCheese
Posts: 3
Joined: Sat Oct 07, 2023 3:12 am

1.6.5: Sidecar files not being acted on when viewing search/filter results

Post by BigCheese »

Sidecar files are not being acted on (IE moved or deleted) when I am looking at search results, or a catalog filter

Effect:
When I move a file from the search/filter results, any sidecar files gets left behind. When I delete a file, its sidecar file is not deleted.
I am left with many orphaned sidecar files over the use of the software. Images lose their sidecar data when moved.

To reproduce:
1. Make sure program is configured to use and link companion files
a)File list -> companion files - ENABLE: Link companion files for the following actions: Delete AND Copy/Move/Renamed
xnviewmp_2024_03_14_12-07-1316.png
a) Metadata -> Sidecar ENABLE "Update or create XMP Sidecar". Select "Yes" for at least 1 type of file.
xnviewmp_2024_03_14_11-56-1314.png
2. Categorize or Rate a file which has a filetype you configured to use sidecar files. This will generate a sidecar file.
3. Perform a search to find that category or rating OR select the category or rating from the Catalog Filter.
3. Move or delete the file you categorized at step 2

Actual behaviour (bug): Sidecar file stays behind. It is not moved or deleted :bug:

Expected behaviour: Sidecar file should be moved to new location or deleted depending on what user did to the parent file.

Additional notes: This is not a new issue. It may have always been an issue but I was able to confirm this was an issue one or two versions ago at least.

Follow up question: After this issue is fixed, any advice on how to deal with or delete orphaned sidecar files? I'm mostly worried about ones left over from deletions.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 43700
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.6.5: Sidecar files not being acted on when viewing search/filter results

Post by xnview »

:bugconfirmed:
Pierre.