Bug 158776 - confirm tag delete if tag assigned to photos
Summary: confirm tag delete if tag assigned to photos
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Engine (show other bugs)
Version: 0.9.3
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-04 21:53 UTC by Jeff Lehrkamp
Modified: 2012-08-09 07:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Lehrkamp 2008-03-04 21:53:43 UTC
Version:           0.9.3 (using KDE 3.5.9)
Installed from:    RedHat RPMs
OS:                Linux

would like to have a "confirm on delete" of tag if tag is assigned to photos.

If a tag is deleted, need to have a confirm box pop up if the tag is assigned to photos.  I ran into a situation where I was looking at one album not all photos and selected a tag.  The tag selected no photos, so I deleted that tag.  The tag was also removed from a number of photos in another album.
Comment 1 caulier.gilles 2008-03-27 11:36:47 UTC
Jeff,

From left or right sidebar where tags can be managed, there is always a confirm dialog to ask to user if he want to continue to delete tag. So the confirm dialog _already_ exist...

The missing informations is about the already assigned tag to pictures. Do you want to see this information in current confim dialog ?

Gilles Caulier
Comment 2 caulier.gilles 2008-03-27 11:49:29 UTC
Jeff,

Note : the new option "Count of items" for folder view solve your problem indirectly. If you enable it, you will be able to see how many pictures are already assigned to a tag...

Look here for more details : http://www.digikam.org/?q=node/283

Gilles Caulier
Comment 3 caulier.gilles 2008-03-27 12:44:56 UTC
SVN commit 790752 by cgilles:

digiKam from KDE3 branch : Tag folder views : Delete Tag : check if tag is already assigned to items and report to user before to delete it really.
BUG: 158776
TODO: KDE4PORT


 M  +26 -18    digikam/tagfilterview.cpp  
 M  +26 -19    digikam/tagfolderview.cpp  
 M  +27 -19    libs/imageproperties/imagedescedittab.cpp  
 M  +1 -1      libs/imageproperties/imagedescedittab.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=790752
Comment 4 caulier.gilles 2008-03-27 13:06:56 UTC
SVN commit 790756 by cgilles:

backport commit #790752 from KDE3 branch
CCBUGS: 158776


 M  +26 -19    digikam/tagfilterview.cpp  
 M  +26 -19    digikam/tagfolderview.cpp  
 M  +27 -20    libs/imageproperties/imagedescedittab.cpp  
 M  +2 -2      libs/imageproperties/imagedescedittab.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=790756