If one goes to Settings | Database -> Optimize... and selects 'Check for orphaned files/directories' by pressing {Ok} the program can delete the missing entries even if these have catalog info assigned.
The best solution would be a dialog at the beginning saying:
Code: Select all
This operation can delete some entries from DB which have ratings, colors and/or keywords assigned. Do you want to check for these before?
{Yes} {No} {Cancel}
For {Yes} it will check for each file/directory if there are entries in 'Tags' table or Rating/Color is different from 0. Some code which do something like this should be present under 'Clean files' checkbox.
For {No} it will work like it is now.
For {Cancel} it will abort the operation.
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -