editeng/source/editeng/impedit.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit f921a965c407677908e95fe99c3a430f832bdc43
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Oct 21 09:34:01 2025 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Oct 22 12:14:05 2025 +0200

    Resolves: tdf#168870 scrolling input win doesn't redraw
    
    since:
    
    commit ec4da4667d7f948219d51daaf21cda8d5cd2f4ad
    Date:   Wed Aug 13 19:45:13 2025 +0200
    
        OutlinerView: Rework for standard selection visualization
    
    Change-Id: Id3a7c473f024d12bb61fbe3c2a4f3939df274689
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192775
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/editeng/source/editeng/impedit.cxx 
b/editeng/source/editeng/impedit.cxx
index d29c8af18d59..0dcdcaa66807 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -1638,7 +1638,9 @@ Pair ImpEditView::Scroll( tools::Long ndX, tools::Long 
ndY, ScrollRangeCheck nRa
             mpOutputWindow->Scroll( nRealDiffX, nRealDiffY, aRect, 
ScrollFlags::Clip );
         }
 
-        if (comphelper::LibreOfficeKit::isActive())
+        bool bInvalidateToTriggerRedraw = !mpOutputWindow && 
getEditViewCallbacks();
+
+        if (comphelper::LibreOfficeKit::isActive() || 
bInvalidateToTriggerRedraw)
         {
             // Need to invalidate the window, otherwise no tile will be 
re-painted.
             // NOTE:

Reply via email to