Library module has many indexes to deleted photos - how to clean up?

Okay, Let’s track the handling of a missing file.

  1. Here’s a starting point:

  2. The option to delete the missing file can be selected:

  3. There is a dialog to verify that you really want to remove the file(s)

  4. When I click on “Remove” in the dialog above, I get this:


While steps 1 to 3 are quite normal and okay, the “remove” action fails because it tries to delete the file instead of removing it from the database or asking whether the file should

  1. be moved to the trash or
  2. be removed from the database

Check out what other apps propose


From a user point of view, an option to remove a file from the database is absolutely necessary because it can help to keep the database clean of orphaned entries - specially if a search for orphans were possible.

Quick Win (attn. @StevenL )

  • We could keep the current programming, if the exception (delete non-existant file) were intercepted by PhotoLab (that’s already the case) and present a dialog “Remove from database” (plus appropriate action) instead of an error message.
4 Likes