Bug 120056 - digikam: allow to assign via drag and drop tag thumbnails in 'Tags Filter'
Summary: digikam: allow to assign via drag and drop tag thumbnails in 'Tags Filter'
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Drag&Drop (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-13 18:53 UTC by Achim Bohnet
Modified: 2017-08-02 17:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 0.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Bohnet 2006-01-13 18:53:44 UTC
Version:           0.8.1 (using KDE 3.5.0, Kubuntu Package 4:3.5.0-0ubuntu9 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-11-686

When one create a tag, then it's usually the case that
on has a image that should get the new tag assigned.
When one now what's to use this image as thumbnail for the
new tag too, then one currently has to:

o assign the new tag to the image
o goto the 'Tags' view and select the new tag
o drag and drop the image in on the Tags on the
  left hand side
o goto the last album and scroll down where one left

Before this can be implemented '[Bug 120055] New: digikam: Allow to use any image managed by digikam to be used as Ablbum -, Tag thumbnail'
need to be implemented.

Achim
Comment 1 caulier.gilles 2006-09-04 13:33:47 UTC
SVN commit 580735 by cgilles:

digikam from trunk: Tag Filters View: new option in popup menu to assign an image as tags thumbnail using drag & drop like with Tags View.
BUG: 120056


 M  +7 -0      tagfilterview.cpp  


--- trunk/extragear/graphics/digikam/digikam/tagfilterview.cpp #580734:580735
@@ -317,6 +317,7 @@
             QPopupMenu popMenu(this);
             popMenu.insertItem(SmallIcon("tag"), i18n("Assign Tag '%1' to Dropped Items")
                                 .arg(destAlbum->prettyURL()), 10) ;
+            popMenu.insertItem(i18n("Set as Tag Thumbnail"),  11);
             popMenu.insertSeparator(-1);
             popMenu.insertItem(SmallIcon("cancel"), i18n("C&ancel"));
 
@@ -338,6 +339,12 @@
 
             ImageAttributesWatch::instance()->imagesChanged(destAlbum->id());
         }
+        else if(id == 11)
+        {
+            QString errMsg;
+            AlbumManager::instance()->updateTAlbumIcon(destAlbum, QString(),
+                                                       imageIDs.first(), errMsg);
+        }
     }
 }