Bug 169923 - Avoid startup popups when starting LibreOffice from a script
Summary: Avoid startup popups when starting LibreOffice from a script
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Macro-UNOAPI
  Show dependency treegraph
 
Reported: 2025-12-10 14:15 UTC by Hossein
Modified: 2025-12-10 14:16 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2025-12-10 14:15:15 UTC
Description:
When starting LibreOffice from a script, startup dialogs can be disruptive. The request here is to avoid such dialog boxes when starting LibreOffice from API.

Steps to Reproduce:
1. Remove the user profile completely as described in:
https://wiki.documentfoundation.org/UserProfile

2. Open LibreOffice from API, for example using bootstrap() function, as used in:
https://wiki.documentfoundation.org/Documentation/DevGuide/First_Steps#The_FirstUnoContact_example

Actual Results:
The first time dialog box pops up

Expected Results:
First time dialog box and other startup dialog boxes should not pop up when LibreOffice is started using bootstrap() function


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 26.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 31ed14cdc3880d3cd04fe70724ec62c286eca715
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL threaded

There are at least two startup dialog boxes:

The first time dialog is defined in:

cui/uiconfig/ui/whatsnewtabpage.ui
cui/source/dialogs/whatsnewtabpage.cxx

And the tip of the day dialog is defined in:

cui/uiconfig/ui/tipofthedaydialog.ui
cui/source/dialogs/tipofthedaydlg.cxx