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

New commits:
commit bf389ede6dd7e9d859781026f8993f283b385862
Author:     Gökay Şatır <gokaysa...@gmail.com>
AuthorDate: Wed Apr 9 15:21:15 2025 +0300
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Thu Apr 10 09:04:20 2025 +0200

    Send show cursor command after registering the view.
    
    Issue:
    * Or the "mpViewShell" pointer in "ShowCursor" function is empty and the 
notification is not sent to Online side.
    
    Signed-off-by: Gökay Şatır <gokaysa...@gmail.com>
    Change-Id: I42e6d2f914c80fe2bc61483832274357394ef1c1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183928
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index b93204b625e8..6461a845704b 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -2854,8 +2854,12 @@ void ScInputHandler::DataChanged( bool bFromTopNotify, 
bool bSetModified )
     if (bUpdateKit)
     {
         UpdateActiveView();
+
         if (pActiveView)
+        {
+            pActiveView->ShowCursor(); // Send show cursor command after 
registering the view.
             aSel = pActiveView->GetSelection();
+        }
 
         OUString aText = ScEditUtil::GetMultilineString(*mpEditEngine);
         pActiveViewSh->libreOfficeKitViewCallback(LOK_CALLBACK_CELL_FORMULA, 
aText.toUtf8());

Reply via email to