sw/source/core/crsr/viscrs.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit e4fb4b72dbdb358f523a4f702324f6482b344642
Author:     Gülşah Köse <[email protected]>
AuthorDate: Fri Oct 10 11:21:07 2025 +0300
Commit:     Gülşah Köse <[email protected]>
CommitDate: Fri Oct 10 15:03:54 2025 +0200

    Revert "Prevent cursor invalidation if the cursor position doesn't change."
    
    This reverts commit a260cc52b2fae1382805b4389c95f29ed8671f42.
    This commit causes the view jump on writer.
    
    This commit originally merged for the following issue
    
    Open two writer documents side by side includes hyperlink
    Click the hyperilnk one of them and see hyperlink popup
    Type into the other document
    
    There was a glich on hyperlink popup in the first document
    
    Issue doesn't exist even without this patch. So we remove it completely.
    
    Change-Id: I8a341d66a963ed1943d9f666ba026d7eca240f08
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192157
    Reviewed-by: Szymon Kłos <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index eca9fd7374f8..65100dde3051 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -205,8 +205,6 @@ void SwVisibleCursor::SetPosAndShow(SfxViewShell const * 
pViewShell)
         m_pCursorShell->IsSelection() )
         aRect.Width( 0 );
 
-    bool bIsCursorPosChanged = m_aTextCursor.GetPos() != aRect.Pos();
-
     m_aTextCursor.SetSize( aRect.SSize() );
     m_aTextCursor.SetPos( aRect.Pos() );
 
@@ -240,7 +238,7 @@ void SwVisibleCursor::SetPosAndShow(SfxViewShell const * 
pViewShell)
                     LOK_CALLBACK_INVALIDATE_VIEW_CURSOR);
             }
         }
-        else if ( bIsCursorPosChanged || m_pCursorShell->IsTableMode())
+        else
         {
             SfxLokHelper::notifyUpdatePerViewId(*pNotifyViewShell, 
SfxViewShell::Current(),
                 *pNotifyViewShell, LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR);

Reply via email to