desktop/source/app/app.cxx | 13 ------------- 1 file changed, 13 deletions(-)
New commits: commit ac36c94420e3a6a4637f3a6942f652b8d8848025 Author: Patrick Luby <guibmac...@gmail.com> AuthorDate: Thu Apr 24 07:37:46 2025 -0400 Commit: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> CommitDate: Thu Apr 24 20:34:54 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/+/184555 Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> Reviewed-by: Patrick Luby <guibomac...@gmail.com> Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> Tested-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 0bfe37622308..9b8ffb82248f 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -2663,19 +2663,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); }