<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>429787</bug_id>
          
          <creation_ts>2020-11-29 01:50:15 +0000</creation_ts>
          <short_desc>Delete Unassigned Tags: show list of the unassigned tags before deleting them</short_desc>
          <delta_ts>2020-11-29 07:07:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Tags-Manager</component>
          <version>7.2.0</version>
          <rep_platform>Appimage</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Mike Morrison">mike</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>metzpinguin</cc>
    
    <cc>mike</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/digikam/commit/a3aed91dda2fd9033272b89aefa89e9fa9a3de86</cf_commitlink>
          <cf_versionfixedin>7.2.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1979641</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Morrison">mike</who>
    <bug_when>2020-11-29 01:50:15 +0000</bug_when>
    <thetext>In the Tags Manager, when the user chooses &quot;Delete Unassigned Tags&quot;, it would be nice if digiKam displayed a list of the names of the unassigned tags when asking for confirmation.

Currently there is a Warning dialog which says &quot;This option will remove all tags which are not assigned to any image. Do you want to continue?&quot;

It would be nice if this warning dialog included a list of the tags which will be deleted, in case the user wants to cancel the deletion, for example if some of the tags are placeholders which the user was intending to start using.

Alternatively, the list could appear after deletion, showing the names of the tags that were deleted. Currently only the total number of such tags is displayed (&quot;n unused tags were removed.&quot;)

SOFTWARE/OS VERSIONS
Ubuntu 20.10
digikam-7.2.0-beta2-20201120T061443-x86-64.appimage 
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979686</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2020-11-29 06:58:15 +0000</bug_when>
    <thetext>Git commit a3aed91dda2fd9033272b89aefa89e9fa9a3de86 by Maik Qualmann.
Committed on 29/11/2020 at 06:57.
Pushed by mqualmann into branch &apos;master&apos;.

only mark all tags that are not assigned to images
FIXED-IN: 7.2.0

M  +2    -1    NEWS
M  +17   -50   core/libs/tags/manager/tagsmanager.cpp
M  +2    -2    core/libs/tags/manager/tagsmanager.h

https://invent.kde.org/graphics/digikam/commit/a3aed91dda2fd9033272b89aefa89e9fa9a3de86</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979687</commentid>
    <comment_count>2</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2020-11-29 07:03:38 +0000</bug_when>
    <thetext>Displaying all tags, especially if there are a lot of them, makes no sense. The function now marks all tags that are unused. You can then are still unselect tags and then remove them with the delete tags function.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979689</commentid>
    <comment_count>3</comment_count>
    <who name="Mike Morrison">mike</who>
    <bug_when>2020-11-29 07:07:37 +0000</bug_when>
    <thetext>That&apos;s a perfect solution. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>