vcl/source/treelist/svimpbox.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9dec458e40a8b6a180e5c1c6f93fd4277825b9a2 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Mar 10 15:53:06 2023 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Mar 11 20:31:23 2023 +0000 Resolves: tdf#132847 large scrolls that cause page up/down are still "scrolls" and should emit NotifyScrolled even if the scroll is large enough that the call to internal "scroll" optimization is omitted. (and like cursor up/down call NotifyScrolled after ShowCursor) Change-Id: Ie605bde8ce8312b2ff2be9fb471e2f7516b355d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148649 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx index af9d2b1e1437..beb5435920ec 100644 --- a/vcl/source/treelist/svimpbox.cxx +++ b/vcl/source/treelist/svimpbox.cxx @@ -402,10 +402,10 @@ void SvImpLBox::PageDown( sal_uInt16 nDelta ) m_pView->PaintImmediately(); m_pView->Scroll( 0, nScroll, aArea, ScrollFlags::NoChildren ); m_pView->PaintImmediately(); - m_pView->NotifyScrolled(); } ShowCursor( true ); + m_pView->NotifyScrolled(); } void SvImpLBox::PageUp( sal_uInt16 nDelta ) @@ -437,10 +437,10 @@ void SvImpLBox::PageUp( sal_uInt16 nDelta ) m_pView->PaintImmediately(); m_pView->Scroll( 0, nEntryHeight*nRealDelta, aArea, ScrollFlags::NoChildren ); m_pView->PaintImmediately(); - m_pView->NotifyScrolled(); } ShowCursor( true ); + m_pView->NotifyScrolled(); } void SvImpLBox::KeyUp( bool bPageUp )