sc/source/ui/unoobj/docuno.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 082b27db629fc2ff91826eb9f3698283731c1ad6
Author:     Gökay Şatır <gokaysa...@collabora.com>
AuthorDate: Tue Jan 7 11:14:10 2025 +0300
Commit:     Gökay ŞATIR <gokaysa...@collabora.com>
CommitDate: Thu Jan 9 14:03:30 2025 +0100

    Online Calc: Update view pos after setting the client zoom.
    
    Issue: If user zooms in/out while editing is active, the edited area is 
misplaced and tiles are rendering wrong.
    
    Signed-off-by: Gökay Şatır <gokaysa...@collabora.com>
    Change-Id: Ib9ec8237da52363bffcf586b85a1bd041785c693
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179857
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Marco Cecchetti <marco.cecche...@collabora.com>

diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index cc3ea8d9cab9..d08ef82fda24 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -1103,6 +1103,7 @@ void ScModelObj::setClientZoom(int nTilePixelWidth_, int 
nTilePixelHeight_, int
         pHdl->SetRefScale(pViewData->GetZoomX(), pViewData->GetZoomY());
 
     // refresh our view's take on other view's cursors & selections
+    pViewData->GetActiveWin()->UpdateEditViewPos();
     pViewData->GetActiveWin()->updateKitOtherCursors();
     pViewData->GetActiveWin()->updateOtherKitSelections();
 

Reply via email to