BUG: PROD: Face search shows "No Matches Found" for every empty result, even when AI tagging is off
Maintainers usually reply within 4 days
@dhruvbit is already working on this.
Since Nov 24, 2026.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python, react, typescript
- Domain
- frontend
Research direction
Start in FaceSearchDialog.tsx, where the empty-result state renders the fixed "No Matches Found" text; trace the face-search request it makes to the backend perform_face_search(), which already returns three distinct messages (no face detected, no embeddings available, no match). Decide whether to key off those messages or add a reason field to the response, then render distinct wording per case. Add tests around the dialog's empty states; done means each of the three cases shows its own explanation.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
Related to #1646 (v1.3.x-beta production bug tracker)
Describe the bug
When face search returns no results, the dialog always says "No Matches Found – We couldn't find any matching faces in your gallery for this photo." It shows this in three different situations that the backend already distinguishes in perform_face_search():
- The uploaded photo has no detectable face → backend message: "No faces detected in the image."
- The library has no face data yet (e.g. AI tagging is off for all folders) → "No face embeddings available for comparison."
- Faces were compared but nobody matched.
FaceSearchDialog.tsx ignores the response message and shows the same text for all three, so the user can't tell what to do.
Steps to reproduce
- Install v1.3.0-beta on Windows 11 and add a folder, leaving AI tagging off (the default).
- Use face search with a photo that is already in that folder.
- The dialog says no matching faces were found, although it's the same photo. Nothing indicates that AI tagging needs to be enabled.
Expected behavior
The dialog should explain the actual reason, e.g. "Face data isn't available yet — turn on AI tagging for your folders" for case 2, and "No face was detected in this photo" for case 1.
Environment
- PictoPy v1.3.0-beta (Windows x64 installer)
- Windows 11
Proposed fix
Return a machine-readable reason from the face-search endpoint (or use the existing message) and show a specific message for each case in FaceSearchDialog.tsx, with tests. I'd like to work on this once it's reviewed.
Record
- I agree to follow this project's Code of Conduct
- Dominant language
- Python
- Stars
- 322
- Forks
- 793
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 20
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/PictoPy
-
BUG: Semantic search sees portrait phone photos sideways (SigLIP ignores EXIF orientation)Possibly taken @jayssSmm claimed this 1 day ago. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AOSSIE-Org/PictoPy#1780 · 5 comments ·
Maintainers usually reply within 4 days
-
BUG: Share password loses leading/trailing spaces so the password you set doesn't workPossibly taken @swastiksharma45 claimed this 2 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
AOSSIE-Org/PictoPy#1779 · 2 comments ·
Maintainers usually reply within 4 days
-
BUG: Add images to album: success message shows requested count, not number actually addedPossibly taken @riyanshbhosale claimed this 5 days ago. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AOSSIE-Org/PictoPy#1740 · 4 comments ·
Maintainers usually reply within 4 days
-
BUG: /sync-folder does not validate the supplied folder_idMay be free again @sathvikn113 claimed this 10 days ago, and no pull request is open. Openbug possible-duplicate
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/PictoPy#1731 · 5 comments ·
Maintainers usually reply within 4 days
-
DOC: update deprecated libgl1-mesa-glx package and stale setup.md referencesMay be free again @avika269 claimed this 10 days ago, and no pull request is open. Opendocumentation
Difficulty 1/5 1-3 hours Newbie friendliness 65/100
AOSSIE-Org/PictoPy#1730 · 5 comments ·
Maintainers usually reply within 4 days
All issues in AOSSIE-Org/PictoPy
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
bad-antics/lateralus-lang#1140 ·
Maintainers usually reply within 4 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 3 days
-
fixture good first issue help wanted vendor:cisco
Difficulty 1/5 1-3 hours Newbie friendliness 85/100