https://issues.apache.org/ooo/show_bug.cgi?id=97129

hanya <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from hanya <[email protected]> ---
Created attachment 80861
  --> https://issues.apache.org/ooo/attachment.cgi?id=80861&action=edit
Proposed patch to fix this problem

When the mode is SHOWWINDOWMODE_END in SlideshowImpl::gotoPreviousSlide method 
defined in sd/source/ui/slideshow/slideshowimpl.cxx, 
previous slide index is calculated with mpSlideController->getSlideIndexCount()
- 1.
This way is wrong, getSlideIndexCount method returns size of vector that
contains 
slide indexes.

At this time, AnimationSlideController::getCurrentSlideIndex method returns
last 
index of the visible page if the show is proceeded without END key.
When I push END key to move to the last slide, the last slide in the slides is 
shown even the page is hidden.
So I introduced new method to get last visible slide from the list of slide
indexes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to