vcl/source/treelist/svimpbox.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit b414cb574d0641d387a8c6190112746929e88d52 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Mar 10 15:53:06 2023 +0000 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Sat Mar 11 22:03:18 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/+/148623 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx index 453edb8dc53b..5d3202f266c3 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 )