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

New commits:
commit e4a0e9ddd7b95f4bdc833b1e682784600e66f376
Author:     Gökay Şatır <gokaysa...@collabora.com>
AuthorDate: Tue Jan 7 11:14:10 2025 +0300
Commit:     Gökay ŞATIR <gokaysa...@gmail.com>
CommitDate: Mon Feb 3 09:59:55 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>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180513

diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 1520b183beb9..8163b20edab8 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -1082,6 +1082,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