Bug 367536 - Assigning hierarchical tag only assigns leaf
Summary: Assigning hierarchical tag only assigns leaf
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Engine (show other bugs)
Version: 5.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-18 21:39 UTC by Bill Goodman
Modified: 2022-01-02 09:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Goodman 2016-08-18 21:39:20 UTC
With hierarchical tags, adding a tag to a photo often adds only the leaf tag rather than the entire tag path.


Reproducible: Always

Steps to Reproduce:
1.Create hierarchical tags: animals>cat, animals>dog
2.Right-click photo in thumbnails view.
3. Select Assign Tag>More Tags
4. Check "animals" and "cat".
5. Click Apply.
6. Right click on a different photo.
7. Select Assign Tag > cat (Tags/animals)
8. 


Actual Results:  
Only "cat" tag is assigned. 

Expected Results:  
Assign "animals" and "cat" tags to photo.
Comment 1 caulier.gilles 2016-12-29 11:36:29 UTC
Can you reproduce the problem with 5.4.0-pre release installer for Windows,
available here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM
Comment 2 Bill Goodman 2016-12-30 21:03:52 UTC
(In reply to caulier.gilles from comment #1)
> Can you reproduce the problem with 5.4.0-pre release installer for Windows,
> available here :
> 
> https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

I just ran the described sequence on digiKam-5.4.0-01-Win64.exe. Same result. The bug remains.
Comment 3 Bill Goodman 2016-12-31 17:40:47 UTC
(In reply to caulier.gilles from comment #1)
> Can you reproduce the problem with 5.4.0-pre release installer for Windows,
> available here :
> 
> https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

After additional research I conclude that this is more a disagreement over a design choice than a bug.

Hierarchical tags are used in many different ways. In some cases it would be appropriate to add only the leaf tag. In others it would be better to include the entire hierachical path to the leaf tag.

It might be nice to have an option to determine which occurs by default. But without that, neither choice is actually wrong--just a preference.

As a result, I recommend marking this bug report as resolved:invalid.