Bug 116520 - Slideshow should work for search results as well
Summary: Slideshow should work for search results as well
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SlideShow (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-16 21:00 UTC by Dik Takken
Modified: 2017-07-12 10:51 UTC (History)
2 users (show)

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 Dik Takken 2005-11-16 21:00:47 UTC
Version:           0.1.0_beta2 (using KDE KDE 3.4.1)
OS:                Linux

When doing a search, DigiKam generates a collection of search results. When trying to display these search results with the slideshow tool, it does not work. It would be very cool to have this working as well.
Comment 1 Tom Albers 2005-11-18 00:14:20 UTC
I think this is a digiKam bug, reassigning for now, untill I have investigated this bug. 
Comment 2 Tom Albers 2005-12-29 21:51:36 UTC
SVN commit 492401 by toma:

Make the kipi plugins also work on all images in a search folder or date folder.
BUG: 116520



 M  +13 -0     kipiinterface.cpp  


--- trunk/extragear/graphics/digikam/digikam/kipiinterface.cpp #492400:492401
@@ -355,6 +355,19 @@
         {
             return imagesFromTAlbum(dynamic_cast<TAlbum*>(album_));
         }
+        else if (album_->type() == Album::DATE || 
+                 album_->type() == Album::SEARCH)
+        {
+            AlbumItemHandler* handler =
+                    AlbumManager::instance()->getItemHandler();
+
+            if (handler)
+            {
+                return handler->allItems();
+            }
+
+            return KURL::List();
+       }
         else
         {
             kdWarning() << k_funcinfo
Comment 3 Tom Albers 2005-12-29 22:08:21 UTC
*** Bug 114510 has been marked as a duplicate of this bug. ***
Comment 4 Tom Albers 2005-12-29 22:10:58 UTC
SVN commit 492407 by toma:

backport

r492401 | toma | 2005-12-29 21:51:32 +0100 (do, 29 dec 2005) | 4 lines

Make the kipi plugins also work on all images in a search folder or date folder.
CCBUG: 116520



 M  +13 -0     kipiinterface.cpp  


--- branches/stable/extragear/graphics/digikam/digikam/kipiinterface.cpp #492406:492407
@@ -355,6 +355,19 @@
         {
             return imagesFromTAlbum(dynamic_cast<TAlbum*>(album_));
         }
+        else if (album_->type() == Album::DATE || 
+                 album_->type() == Album::SEARCH)
+        {
+            AlbumItemHandler* handler =
+                    AlbumManager::instance()->getItemHandler();
+
+            if (handler)
+            {
+                return handler->allItems();
+            }
+
+            return KURL::List();
+       }
         else
         {
             kdWarning() << k_funcinfo