desktop/source/app/app.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit ac28bf8af572a15f78ac393a5cd50d324675cef0 Author: Hossein <[email protected]> AuthorDate: Wed Nov 12 11:51:29 2025 +0100 Commit: Hossein <[email protected]> CommitDate: Thu Nov 13 15:19:53 2025 +0100 tdf#169400 Limit runGraphicsRenderTest() to debug builds Invoking runGraphicsRenderTest() at first startup, after splash screen progress bar reaches 100% causes significant hiccup in the application startup. The user may think the application hanged, and that causes bad first impression. This patch limits this startup test to DBG_UTIL builds only. Change-Id: I2b7ad6f229a1bf6288ba370f5f65591bd47f156a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193847 Reviewed-by: Hossein <[email protected]> Tested-by: Jenkins diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 3a135aff4585..00f845124271 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -356,7 +356,7 @@ void RemoveIconCacheDirectory() namespace { -#if !defined(EMSCRIPTEN) +#if defined(DBG_UTIL) && !defined(EMSCRIPTEN) void runGraphicsRenderTests() { if (comphelper::LibreOfficeKit::isActive()) @@ -1645,7 +1645,7 @@ int Desktop::Main() CheckOpenCLCompute(xDesktop); #endif -#if !defined(EMSCRIPTEN) +#if defined(DBG_UTIL) && !defined(EMSCRIPTEN) //Running the VCL graphics rendering tests const char * pDisplay = std::getenv("DISPLAY"); if (!pDisplay || pDisplay[0] == ':')
