Bug 513381

Summary: Add AND/OR Toggle to Right Sidebar Tags Filter for Quick, Intuitive Intersection Searches
Product: [Applications] digikam Reporter: Roland <carbonwerkes>
Component: Albums-FiltersAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 9.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Roland 2025-12-15 00:31:08 UTC
SUMMARY
The left-hand sidebar's Tags Filter uses only OR (union) logic for multiple tags, which on multi-select (Ctrl-shift) broadens results but reduces specificity. Adding a simple toggle/radio button for AND (intersection) would enable rapid, exploratory searches like "Do I have photos matching all these tags?" This isn't about adding complexity (e.g., no mixed AND/OR groups)—just a quick switch to make the filter more powerful for real-world use

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Imagine a family photo library tagged by people ("kids"), locations ("beach"), and events ("vacation"). With the current tag (OR) filter, selecting these returns everything—all kid photos, all beach shots, all vacations—creating a mess of thousands of irrelevant results. But with an AND toggle, you could quickly ask: "Do I have photos of the kids at the beach during vacation?" and see only the exact matches. Advanced query options are great for complex searches, but they are slow to setup, and the lack of smart matches on tag names means you have to either hope that text match is both correct and exclusive enough, or you have to navigate a tree, and do this per condition.