"Relocate" doesn't work if the new folder is already scanned

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

"Relocate" doesn't work if the new folder is already scanned

Post by m.Th. »

The user cannot relocate images if the new folder is already scanned by the program and is in DB.

Steps:

1. (Setup) Put some images in c:\temp1. Assign the category 'c1' to them.
2. Close XnView MP and rename the folder to c:\temp2
2.5. (Check) Reopen XnView MP, go to Categories Filter to show the photos which have the 'c1' category. The program correctly shows the 'missing' photos, but it cannot open them (try by duble-click) because the directory info in the program is wrong.
3. Go in XnView MP at folder c:\temp2 and wait a little to allow the program to scan - build the thumbs for that folder.
3. Go to Tools | Settings | Database and Relocate the photos from c:\Temp1 to c:\Temp2

Expected:

A handling dialogue should appear saying something like:

Code: Select all

The new folder c:\Temp2 already exists in DB. What do you want to do?

{Delete the DB info for the new folder and relocate} {Delete the DB info for the old folder} {Cancel}
Actual:

The process just stops.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
Post Reply