Bug 113805 - Image contextual menu "Set as Tag Thumbnail" in "Dates" view and "Searches" view ?
Summary: Image contextual menu "Set as Tag Thumbnail" in "Dates" view and "Searches" v...
Status: CLOSED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Menus (show other bugs)
Version: 0.8.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-03 22:03 UTC by Tung NGUYEN
Modified: 2023-12-01 12:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tung NGUYEN 2005-10-03 22:03:12 UTC
Version:           0.8.0-beta2 (using KDE KDE 3.4.2)
Installed from:    Compiled From Sources
OS:                Linux

in "Dates" view and "Searches" view (left sidebar), photos have a contextual menu "Set as Tag Thumbnail" but it does nothing (perhaps, the correct menu names are "Set as Date Thumbnail" and "Set as Search Thumbnail" in order to set a thumnail for the corresponding date or search?).
Comment 1 Renchi Raju 2005-10-04 10:25:45 UTC
SVN commit 467065 by pahlibar:

disable the "set as XX thumbnail" in the non-albums/tags
view

BUGS: 113805


 M  +7 -4      albumiconview.cpp  


--- trunk/extragear/graphics/digikam/digikam/albumiconview.cpp #467064:467065
@@ -444,10 +444,13 @@
     popmenu.insertItem(SmallIcon("exifinfo"),
                        i18n("Properties"), 14);
 
-    if( d->currentAlbum && d->currentAlbum->type() == Album::PHYSICAL )
-        popmenu.insertItem(i18n("Set as Album Thumbnail"), 17);
-    else
-        popmenu.insertItem(i18n("Set as Tag Thumbnail"), 17);
+    if (d->currentAlbum)
+    {
+        if (d->currentAlbum->type() == Album::PHYSICAL )
+            popmenu.insertItem(i18n("Set as Album Thumbnail"), 17);
+        else if (d->currentAlbum->type() == Album::TAG )
+            popmenu.insertItem(i18n("Set as Tag Thumbnail"), 17);
+    }
 
     popmenu.insertSeparator();
 
Comment 2 Tung NGUYEN 2005-10-07 13:24:13 UTC
I have tested this bug fix with the lastest SVN, "set as XX thumbnail" is now removed in the "Dates" view and "Searches" view.

Thank you.
Comment 3 caulier.gilles 2005-10-07 13:27:14 UTC
Fixed by Renchi. Closed.