desktop/source/app/app.cxx |   13 -------------
 1 file changed, 13 deletions(-)

New commits:
commit ab54f1da9c04e684c4f1a916d189b6a3e0d60ee0
Author:     Patrick Luby <guibmac...@gmail.com>
AuthorDate: Thu Apr 24 07:37:46 2025 -0400
Commit:     Patrick Luby <guibomac...@gmail.com>
CommitDate: Thu Apr 24 15:09:37 2025 +0200

    Revert hiding of Start Center when loading modules or documents on macOS
    
    In commit 331ea32ec181aff739eaebee328281b190cad003, the backing
    frame's component was unset if there is no progress bar. This made
    the Start Center's window empty so that loading large documents
    wouldn't have the Start Center content displayed while the document
    loads.
    
    Unfortunately, this change has the side effect of making the Start
    Center undisplayable if the LibreOffice recovery dialog is displayed
    on launch and the "Discard All" button is pressed.
    
    Change-Id: Iff571eb1751256f359cb0ef8a8eec7c094bcec68
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184553
    Tested-by: Jenkins
    Reviewed-by: Patrick Luby <guibomac...@gmail.com>

diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 0b6b50aa3945..4fe489e4eb56 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -2664,19 +2664,6 @@ void Desktop::ShowBackingComponent(Desktop * progress)
     {
         progress->CloseSplashScreen();
     }
-#ifdef MACOSX
-    else
-    {
-        // Related: tdf#41775 don't display the Start Center when loading
-        // modules or documents by unsetting the backing frame's component.
-        // This makes the Start Center's window empty so that loading large
-        // documents don't have the Start Center content displayed while the
-        // the document loads.
-        xBackingFrame->setComponent(css::uno::Reference<css::awt::XWindow>(), 
css::uno::Reference<css::frame::XController>());
-        return;
-    }
-#endif
-
     xContainerWindow->setVisible(true);
 }
 

Reply via email to