svx/source/svdraw/svdpntv.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4712901a3f0c1ba796a0f516c468650ef31a4f7b
Author:     Szymon Kłos <[email protected]>
AuthorDate: Tue Feb 14 10:50:46 2023 +0100
Commit:     Szymon Kłos <[email protected]>
CommitDate: Wed Apr 12 07:32:07 2023 +0200

    lok: draw textboxes under edit
    
    This fixes bug in impress:
    - open in 2 views
    - start editing textbox in 2. view on 2. slide
    - start editing textbox in 1. view on 1. slide
    Result: slide 2 textbox was dissapearing
    
    We need to allow drawing textboxes edited by other views
    so if we select non-editor for rendering we will see the
    full content.
    
    It was regression from
    commit e496b55a592caf0ca07f5477285a72d50cee6501
    lok: masterpage: don't render text edits from different mode
    
    Change-Id: I7645496aec77d11d16621129dd6644d3b54a6010
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146999
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Henry Castro <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150096
    Tested-by: Szymon Kłos <[email protected]>
    Reviewed-by: Szymon Kłos <[email protected]>

diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx
index c7e04008d6c3..580c6d484709 100644
--- a/svx/source/svdraw/svdpntv.cxx
+++ b/svx/source/svdraw/svdpntv.cxx
@@ -647,7 +647,7 @@ void SdrPaintView::EndCompleteRedraw(SdrPaintWindow& 
rPaintWindow, bool bPaintFo
                 static_cast< SdrView* >(this)->TextEditDrawing(rPaintWindow);
         }
 
-        if (comphelper::LibreOfficeKit::isActive() && mbPaintTextEdit && 
pPageView)
+        if (comphelper::LibreOfficeKit::isActive() && pPageView)
         {
             // Look for active text edits in other views showing the same page,
             // and show them as well. Show only if Page/MasterPage mode is 
matching.

Reply via email to