Bug 513381 - Add AND/OR Toggle to Right Sidebar Tags Filter for Quick, Intuitive Intersection Searches
Summary: Add AND/OR Toggle to Right Sidebar Tags Filter for Quick, Intuitive Intersect...
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Filters (other bugs)
Version First Reported In: 9.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-15 00:31 UTC by Roland
Modified: 2025-12-25 10:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.