Apache OpenOffice (AOO) Bugzilla – Issue 42445
Slide sorter bar: Crash when I click beside a slide and press page down
Last modified: 2005-04-08 10:13:27 UTC
- start an impress / Draw - insert some slides - scroll in the slide sorter bar to the bottom of the slides - click beside a slide - you jump back to the first slide - press now the page down button -> crash
Here we have two separate problems: 1) The scrolling back to the first slide is a bug in the code that scrolls a modified selection into the visible area. The empty selection is handled wrong. 2) Pressing the PageDown key crashes the office because it tries to go down one page from the current page. There is no current page because the selection is empty. Referencing the NULL pointer returned by GetActualPage() leads to the crash.
Fixed 1) by ignoring the empty selection in SlideSorterController::MakeSelectionVisible() and 2) by having SlideSorterController::GetActualPage() return the current page of the view shell in the center pane (when possible) and by guarding SelectionFunction::GotoNextPage() against an empty pointer to the current page.
reopened to send back to qa
send back to qa
set back to fixed
Verified in cws impress34
Tested in master m91. Closed.