sc/source/ui/app/inputhdl.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit d208c1910b54f5dc711e490e68899ca13121e586
Author:     Gülşah Köse <gulsah.k...@collabora.com>
AuthorDate: Tue Feb 27 13:07:18 2024 +0300
Commit:     Gülşah Köse <gulsah.k...@collabora.com>
CommitDate: Tue Feb 27 17:13:34 2024 +0100

    Online: Prevent hiding tooltips due to other users action.
    
    Other user's actions like reloading reopening or refreshing
    document causes hiding other user function tooltips.
    
    Signed-off-by: Gülşah Köse <gulsah.k...@collabora.com>
    Change-Id: I0aeb0aeb98182398e4740c71cfd65c4df2c51ba6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164027
    Tested-by: Jenkins

diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index e0d9be5bdc97..8ea3f33157a9 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -4445,7 +4445,9 @@ void ScInputHandler::NotifyChange( const ScInputHdlState* 
pState,
             pDelayTimer->Start();
     }
 
-    HideTip();
+    // Don't hide function tooltip in LOK, a remote user might be using tip.
+    if (bStopEditing)
+        HideTip();
     HideTipBelow();
     bInOwnChange = false;
 }

Reply via email to