From d208c1910b54f5dc711e490e68899ca13121e586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCl=C5=9Fah=20K=C3=B6se?= Date: Tue, 27 Feb 2024 13:07:18 +0300 Subject: [PATCH] Online: Prevent hiding tooltips due to other users action. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Other user's actions like reloading reopening or refreshing document causes hiding other user function tooltips. Signed-off-by: Gülşah Köse Change-Id: I0aeb0aeb98182398e4740c71cfd65c4df2c51ba6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164027 Tested-by: Jenkins --- sc/source/ui/app/inputhdl.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }