Bug 512674

Summary: Searching by images/similarity will not show results if the similar image is within a closed group
Product: [Applications] digikam Reporter: Jackson <kde>
Component: Searches-SimilarityAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 8.8.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.9.0
Sentry Crash Report:

Description Jackson 2025-11-27 11:40:11 UTC
SUMMARY
Search by similarity (image in this case) will return nothing, not even a "nothing found" message, if the image being searched for is grouped, and that group hasn't been opened.

This means if I had no idea which album the image was in, I would not be able to reasonably do my fuzzy search at all.

STEPS TO REPRODUCE
1. Have a bunch of images
2. Group them
3. Try to find similar image within the grouped images (finding something other than the 1st one)
4. See "observed result"

OBSERVED RESULT
Nothing shows up as the results. No "nothing found" message. Absolutely no feedback.

This changes if the grouped images is expanded ("show grouped images") in Album view. In that case, the matching image is visible. This however requires knowing which album the image is located in, too.

EXPECTED RESULT
The fuzzy search should show the matching image, or at least the grouped images the matching image is located in.

SOFTWARE/OS VERSIONS
I still have KDE Plasma installed, but I am using niri.

niri 25.08 (01be0e6)

kinfo:
Operating System: Gentoo Linux 2.18
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.3
Kernel Version: 6.17.9-custom-lowlatency (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7700X 8-Core Processor
Memory: 32 GiB of RAM (30.9 GiB usable)
Graphics Processor: AMD Radeon RX 7800 XT

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2025-11-27 12:04:39 UTC
The search behavior has already been reported and discussed. You can temporarily show all groups as open in the View menu.

Maik
Comment 2 Maik Qualmann 2025-11-27 12:08:51 UTC

*** This bug has been marked as a duplicate of bug 436040 ***
Comment 3 Maik Qualmann 2025-11-27 20:53:58 UTC
Git commit 1f4d7ced9cd623b90d1efabe8a27216020e000d8 by Maik Qualmann.
Committed on 27/11/2025 at 20:52.
Pushed by mqualmann into branch 'master'.

ignore groups for the people and search views
Related: bug 436040, bug 458880
FIXED-IN: 8.9.0

M  +3    -3    NEWS
M  +30   -16   core/app/items/views/digikamitemview.cpp
M  +11   -2    core/app/items/views/digikamitemview.h
M  +1    -1    core/app/items/views/digikamitemview_p.h
M  +0    -2    core/app/views/sidebar/peoplesidebarwidget.cpp
M  +0    -1    core/app/views/sidebar/peoplesidebarwidget.h
M  +0    -3    core/app/views/stack/itemiconview.cpp
M  +17   -0    core/app/views/stack/itemiconview_sidebars.cpp

https://invent.kde.org/graphics/digikam/-/commit/1f4d7ced9cd623b90d1efabe8a27216020e000d8