Created attachment 148114 [details] Screenshots of sections SUMMARY When browsing through the tags in the People section, there are a lot of items with empty query results. When I do the same in the Tags section under People, those the correct results are shown. I've tried rescanning faces and cleaning up the database with no positive effects. STEPS TO REPRODUCE 1. go to the People section 2. click on a random item 3. see an empty result 4. go to the Tags section 5. select "People" 6. select corresponding item to #2 7. see list of photos OBSERVED RESULT results missing in People section EXPECTED RESULT getting the same result as in Tags section SOFTWARE/OS VERSIONS Windows: macOS: 12.3.1 Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
This is not a bug. In the tags tree, the images have assigned the keyword. In the people view, only images are displayed where there is also a face region for this tag name. Maik
(In reply to Maik Qualmann from comment #1) > This is not a bug. In the tags tree, the images have assigned the keyword. > In the people view, only images are displayed where there is also a face > region for this tag name. > > Maik I did not check every single photo, but the ones I checked all have properly tagged face regions. So, if this is not a bug, my database seems to be corrupted. Is there a way to fix this? Jens
Preview the image and enable face region display. Do you have face regions that have the tag name under the face region? Then the images must be displayed in the People view. The face regions come from the database even in the preview. Otherwise post the messages with enabled Qt-Debug variable when you start digiKam in the terminal as also described here for MacOS: https://www.digikam.org/contribute/ Maik
Created attachment 148127 [details] Terminal Log
Added the log as an attachment as it's too long for a comment.
Your digikam4.db is corrupt. In principle, it is difficult to repair, since under MacOS you would have to install the SQLite Utilities. And then there is no guarantee that a repair will succeed. You could try exporting the database to a new database using the database migration tool under digiKam. Then copy the exported database back to the old location. Error messages: "Der Datensatz konnte nicht abgeholt werden" "database disk image is malformed" "11" 1 Maik
What leads to such database corruption is unknown. As a developer, I often have digiKam crashes to test bug reports. However, I have never had a corrupted SQLite or MySQL database before. You should definitely check your drive for errors. Maik