desktop/source/app/app.cxx | 13 ------------- 1 file changed, 13 deletions(-)
New commits: commit ef4c499e5da587e6cdae188245ab5d2da174a9ae Author: Patrick Luby <guibmac...@gmail.com> AuthorDate: Thu Apr 24 07:37:46 2025 -0400 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Fri May 2 06:26:09 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/+/184554 Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> Reviewed-by: Patrick Luby <guibomac...@gmail.com> Tested-by: Jenkins 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); }