[digikam] [Bug 348105] New: Delete all unused tags

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348105] New: Delete all unused tags

Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=348105

            Bug ID: 348105
           Summary: Delete all unused tags
           Product: digikam
           Version: 4.4.0
          Platform: Debian testing
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: Tags
          Assignee: [hidden email]
          Reporter: [hidden email]

If your friends send images to you, which they have tagged, those "friend-tags"
are imported with the image into digikam. Often, you use different tags as your
friends, so you remove all those "friend-tags" from the images, you have just
imported. (See bug #348104)
After this remove-action, you end up with a tag tree containing those
"friend-tags", which are no longer assigned to a single image.

If you want to get rid of these obsolete tags, too, with digikam 4.4.0, I have
to "walk" through the whole tag tree myself and press "Delete" + "Yes" on every
single tag, which shows the use counter "(0)" after its name. (A very boring
task.)

In this case, it would be very handy, if "Tags Manager" would provide a
function as: "Delete all unused tags".
This function would collect all tags, which
   - are not assigned to an image
   - and have no child-tags (or only unused child-tags)
This list would be presented to the user:
  "Do you really want to delete the following tags?
     - sample tag 1
     - sample tag 2
     - ..."
So the user can delete all those no longer needed tags with a few clicks.
(Leave the boring work to the computer ;)

Reproducible: Always

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348105] Delete all unused tags

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=348105

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email],
                   |                            |veaceslav.munteanu90@gmail.
                   |                            |com

--- Comment #1 from Gilles Caulier <[hidden email]> ---
Veaceslav,

This can be a job for tags Manager ?

Gilles

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348105] Delete all unused tags

Veaceslav Munteanu-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=348105

--- Comment #2 from Veaceslav Munteanu <[hidden email]> ---
Yes, this one can be implemented in Tags Manager. But I see that you first
remove the tag from picture and then you remove the tag from tree.

Why won't you simply remove the tag from the tree? When you remove the tag from
the tag tree, the tag is removed from all images.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348105] TAGS MANAGER : Delete all unused tags

Gilles Caulier-4
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=348105

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Delete all unused tags      |TAGS MANAGER : Delete all
                   |                            |unused tags

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348105] TAGS MANAGER : Delete all unused tags

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=348105

--- Comment #3 from Peter Albrecht <[hidden email]> ---
Veaceslav,

my problem is: How to identify the tags to delete?

If I first remove all tags from the pictures in the album "pictures of friend
Paul" (see bug #348104), I easily can identify tags, which are now obsolete,
since they are not used any more.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348105] TAGS MANAGER : Delete all unused tags

Veaceslav Munteanu-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=348105

Veaceslav Munteanu <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #4 from Veaceslav Munteanu <[hidden email]> ---
With this commit I implemented "Remove Unused Tags" in Tags Manager

http://quickgit.kde.org/?p=digikam.git&a=commit&h=6943606fa92404c296c23a8982df47339dc4164e

I will perform more tests, since is a dangerous option...

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348105] TAGS MANAGER : Delete all unused tags

Gilles Caulier-4
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=348105

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |4.11.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348105] TAGS MANAGER : Delete all unused tags

Peter Albrecht-2
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=348105

--- Comment #5 from Peter Albrecht <[hidden email]> ---
Thanks a lot! :)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348105] TAGS MANAGER : Delete all unused tags

Gilles Caulier-4
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=348105

--- Comment #6 from Gilles Caulier <[hidden email]> ---
Git commit 727514c264edae32a55f8b99a627047a521d0177 by Gilles Caulier.
Committed on 03/06/2015 at 08:58.
Pushed by cgilles into branch 'frameworks'.

backport commit #6943606fa92404c296c23a8982df47339dc4164e from git/master to
frameworks branch
Related: bug 309243

M  +123  -1    libs/tags/tagsmanager/tagsmanager.cpp
M  +4    -0    libs/tags/tagsmanager/tagsmanager.h

http://commits.kde.org/digikam/727514c264edae32a55f8b99a627047a521d0177

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348105] TAGS MANAGER : Delete all unused tags

bugzilla_noreply
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=348105

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #7 from [hidden email] ---
New installation Linux Mint serena, just mucking about, finding my way around.
digiKam version 4.12.0. Added some pictures, which evidently added some tags.
Deleted some of the pictures. Asked tag manager to delete all unused tags ->
digiKam crashed.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 348105] TAGS MANAGER : Delete all unused tags

bugzilla_noreply
In reply to this post by Peter Albrecht-2
https://bugs.kde.org/show_bug.cgi?id=348105

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Tags                        |Tags-Manager

--
You are receiving this mail because:
You are the assignee for the bug.