Version: koffice 2.0 beta-2 (using KDE 4.1.2) Compiler: gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) OS: Linux Installed from: Fedora RPMs When a custom slide show has repeated slides, the presenter view always thinks that the current slide is the first occurrence of that slide. For example (using two screens): 1) make a simple presentation with two distinguishable slides (page1 and page2) 2) select menu slideshow -> configure slideshow 3) click custom slide shows 4) add new custom slideshow: page1, page2, page2, page1 and click ok 5) select the new custom slideshow from the list in the configure dialog box 6) ensure presenter view is enabled (you'll need two screens) - see menu slideshow -> configure presenter view 7) start presentation Now the expected behaviour is for the "current slide %1 of %2" label to show slides 1,2,3,4 as you click through the slides. It is also expected that the next slide preview box should show pages 2,2,1,(end) as you click through the slides However on each slide the current slide number shows as the number of the first occurrence of the page in the custom slideshow: 1,2,2,1. The next slide preview shows the slide after the first occurrence: page2, page2, page2, page2, (blank) I hope that makes sense. basically whatever slide number it is really on, it is getting the slide object, then trying to find the slide number from it (in KPrPresenterViewInterface::setActivePage) Note that this is not fixed by svn revision 876328 ("Change page navigation of presenter view to be based on page index since any page can appear more than once in the presentation.").
Created an attachment (id=28226) [details] Proposed fix
SVN commit 877713 by zachmann: Fix: [Bug 173754] New: Presenter view doesn't handle repeated slides in custom slide shows Thanks to James Hogan james at albanarts com for providing this patch. BUG: 173754 M +5 -0 KPrAnimationDirector.cpp M +5 -0 KPrAnimationDirector.h M +6 -1 KPrPresenterViewBaseInterface.cpp M +5 -2 KPrPresenterViewBaseInterface.h M +12 -13 KPrPresenterViewInterface.cpp M +1 -1 KPrPresenterViewInterface.h M +7 -2 KPrPresenterViewWidget.cpp M +1 -0 KPrPresenterViewWidget.h M +6 -1 KPrViewModePresentation.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=877713
You need to log in before you can comment on or make changes to this bug.