Bug 334615 - Support for nested tags
Summary: Support for nested tags
Status: RESOLVED FIXED
Alias: None
Product: baloo-widgets
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 15.12.2
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-11 16:49 UTC by naraesk
Modified: 2021-08-29 08:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description naraesk 2014-05-11 16:49:29 UTC
This a feature I'm waiting for a long time, but it was never implemented to nepomuk. Now we have baloo and maybe the time for nested tags has finally come?

E.g I have a tag "Dissertation". Now I want to create further tags under this tag, e.g. "papers" and "project". So there are three tags now:
Dissertation
Dissertation → Papers
Dissertation → Projects

With the possibility to arrange tags hierarchic it becomes much more clear. Otherwise you end up with a really huge amount of tage, which is hard to handle.

Reproducible: Didn't try
Comment 1 Vishesh Handa 2014-05-12 14:32:17 UTC
I have no objections for such a feature. Here is what all would need to be done -

1. Decide how we want to represent nested tags. Currently tags are just represented as strings. They are stored exactly as shown to the user in the xattr of the file. Perhaps storing them as "ParentTag/ChildTag" is a good idea?

2. Change the TagEditDialog in baloo-widgets, to show a tree of tags. This tree can be made by splitting the tags from '/'.

3. Make sure tests are adding in the FileModifyJob to see that the tags are properly being stored in the search index.

Overall, this shouldn't take more than a couple of hours. Any takers?
Comment 2 naraesk 2014-10-10 10:46:45 UTC
seems like no one had time to implement this. :(
Comment 3 Alexander Potashev 2016-03-20 10:40:32 UTC
Not implemented yet as of BalooWidgets-15.12.2.
Comment 4 Jamie Smith 2017-02-19 20:10:58 UTC
Git commit 0a2c8177439770f5a69826abebda1a53d26078a5 by James D. Smith.
Committed on 19/02/2017 at 20:09.
Pushed by smithjd into branch 'master'.

Implement nested tags.
GUI:
REVIEW:128665

M  +94   -71   src/kedittagsdialog.cpp
M  +8    -8    src/kedittagsdialog_p.h
M  +2    -1    src/tagcheckbox.cpp

https://commits.kde.org/baloo-widgets/0a2c8177439770f5a69826abebda1a53d26078a5
Comment 5 Hamdsa 2021-08-28 20:50:48 UTC
I was going to request this feature but it seems it's already been implemented. Is it available on Windows? The only options I see for tags are to add/rename/delete tags, no options to set hierarchy/nesting. Thanks.