Summary: | 'Slideshow' does nothing if an album only contains subalbums, but no images directly or is empty | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Michał Kosmulski <michal> |
Component: | Plugin-Generic-Presentation | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.1.0 | |
Sentry Crash Report: | |||
Attachments: |
Bug 91545: 'Slideshow' does nothing if an album only contains subalbums, but no images directly or is empty
digikam slideshow does not show pics in subfolder 2006-10-03 in Album Gronau Popmuseum |
Description
Michał Kosmulski
2004-10-17 21:27:47 UTC
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
|