Bug 490022 - Wishlist: Add implied tags (separate from tag hierarchy)
Summary: Wishlist: Add implied tags (separate from tag hierarchy)
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Manager (show other bugs)
Version: 8.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-10 14:48 UTC by fewopex195
Modified: 2025-03-29 17:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fewopex195 2024-07-10 14:48:05 UTC
For example:
A tag's properties (let's say TagA) would include a field for "Implied Tags". Any tags entered there would be "implied" by TagA. So, if TagA is set to imply TagP and TagZ, any file tagged with TagA would automatically also be tagged with TagP and TagZ.

Similar functionality is possible with tag hierarchy by using the Toggle Auto feature, but this approach has its limits. Auto-tagging all parent tags usually works, but will result in files being tagged with superfluous meta-tags. Additionally, if a tag implies two other tags which do not imply each other, automating this relationship becomes impossible with simple hierarchy rules. Not a huge deal, as you just have to remember to manually tag, but a problem solved is a problem solved.

If anyone is convinced this would be a useful addition to Digikam and decides to spend their free time figuring out how to add it, you have my endless gratitude. If not, that's cool.
Comment 1 Michael Miller 2025-03-29 17:47:44 UTC
(In reply to fewopex195 from comment #0)
> For example:
> A tag's properties (let's say TagA) would include a field for "Implied
> Tags". Any tags entered there would be "implied" by TagA. So, if TagA is set
> to imply TagP and TagZ, any file tagged with TagA would automatically also
> be tagged with TagP and TagZ.
> 
> Similar functionality is possible with tag hierarchy by using the Toggle
> Auto feature, but this approach has its limits. Auto-tagging all parent tags
> usually works, but will result in files being tagged with superfluous
> meta-tags. Additionally, if a tag implies two other tags which do not imply
> each other, automating this relationship becomes impossible with simple
> hierarchy rules. Not a huge deal, as you just have to remember to manually
> tag, but a problem solved is a problem solved.
> 
> If anyone is convinced this would be a useful addition to Digikam and
> decides to spend their free time figuring out how to add it, you have my
> endless gratitude. If not, that's cool.

Hi fewopex195,
I also had this idea.  I'm calling it "relational tagging".  Like you said, TagA automatically adds TagP and TagZ.

Here's the question, if TagP also has related tags, should those tags be added?  Let's say TagP is related to TagQ.  Do we also apply TagQ since it's related to TagP which is related to TagA?  I'm thinking of making this configurable in the UI through "Tag recursion".

Thoughts?

Cheers,
Mike