| commit | 00dabd046b6163adb223a6b3e2827a4a26b491cc | [log] |
|---|---|---|
| author | Caolán McNamara <caolan.mcnamara@collabora.com> | Sat Mar 30 21:25:51 2024 +0000 |
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | Mon Apr 01 13:38:19 2024 +0200 |
| tree | 0034af554d6c4cb876647b0609601de9c3da8a7b | |
| parent | dfcb8f4e92cec927c77d49ea55a4670470b7abba [diff] |
Resolves: tdf#157587 IconView scoll range not updated IconView::SetUpdateMode(true) doesn't update the scroll range for any changes that might have taken place while updates were suspended. The similar SvImpLBox::UpdateAll() for "normal" lists does this update, so do the equivalent update here too. Noticeable since: commit 666925f2ab06e690c41c470713dc83f2d752bfb7 Date: Sat Jun 3 15:23:15 2023 +0100 perf: use freeze/thaw around block insert of multiple icons Change-Id: I318fc4509c6906161eabf3b312f311cb97ac063a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165485 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit 57428bfc71762687594c3c0fa62cdff391dda3f9) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165612 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/vcl/source/treelist/iconviewimpl.cxx b/vcl/source/treelist/iconviewimpl.cxx index 6839ff1..a7d6bc8 100644 --- a/vcl/source/treelist/iconviewimpl.cxx +++ b/vcl/source/treelist/iconviewimpl.cxx
@@ -467,6 +467,7 @@ void IconViewImpl::SyncVerThumb() void IconViewImpl::UpdateAll( bool bInvalidateCompleteView ) { FindMostRight(); AdjustScrollBars(m_aOutputSize); SyncVerThumb(); FillView(); ShowVerSBar();