Version: 0.7 beta 1 (using KDE KDE 3.3.0) Compiler: gcc 3.3.4 OS: Linux If Tools->Slideshow is selected and current album only contains subalbums, but no images directly in the top level album, nothing happens, as if the album was empty. Expected behavior is to create a slideshow with all images contained within the album directly (if there are any) and that album's subalbums (even if there are no images in the top-level album). This should be the same for tags, but only if 'show items in sub-tags' is enabled in the configuration dialog. By the way, I think a dialog box should be displayed, explaining that there are no images to be shown if the album is empty. If nothing happens after clicking OK in a dialog box, the user can get confused, even if the cause seems obvious (lack of images to show).
fixed in cvs. the slideshow action is disabled if there are images in the current album. also the "show selected images only" option is disabled if there are no selected images in the current album. regarding the first part of your bugreport, concerning items to be shown from subalbums also, the current design of kipi doesn't support this. there is no support for hierarchial albums in libkipi (note to other kipi developers: this needs to be addressed in the second iteration of libkipi)
It would be great to get recursive sildeshow via kipi, so I can view Digikam-created subfolders in one session.
please reopen.
here you are
Created attachment 17726 [details] Bug 91545: 'Slideshow' does nothing if an album only contains subalbums, but no images directly or is empty When you select Show all images in current album, slideshow will show all images from current album and subalbums.
patch sound good. Thanks Drajar. Angelo, i let's you manage this patch for the next release. Gilles
Alle 21:25, luned
Yes. I use digikam and kimdaba.
> Yes. I use digikam and kimdaba. Thanks, only because i cannot do a lot of test in these days... Angelo (who's going to release your patch soon)
SVN commit 586270 by anaselli: patch provided by drajar <djarca73 at yahoo dot com> Tested by Gilles BUG: 91545 M +10 -0 plugin_slideshow.cpp --- trunk/extragear/libs/kipi-plugins/slideshow/plugin_slideshow.cpp #586269:586270 @@ -187,7 +187,17 @@ if (showSelectedFilesOnly) urlList = interface->currentSelection().images(); else + { + KURL currentPath = interface->currentAlbum().path(); + QValueList<KIPI::ImageCollection> albumList; + albumList = interface->allAlbums(); + QValueList<KIPI::ImageCollection>::iterator it; + urlList = interface->currentAlbum().images(); + for ( it = albumList.begin(); it != albumList.end(); ++it ) + if (currentPath.isParentOf((*it).path()) && !((*it).path() == currentPath)) + urlList += (*it).images(); + } if ( urlList.isEmpty() ) {
Created attachment 19068 [details] digikam slideshow does not show pics in subfolder 2006-10-03 in Album Gronau Popmuseum